Skip to content
This repository was archived by the owner on Oct 12, 2021. It is now read-only.
Dean Kayton edited this page Jun 17, 2021 · 4 revisions

Installation Steps

  • Add new server
  • [Optional] Configure DNS with A record so that vpn.lokal.network points to server's public IP address
  • ssh root@vpn.lokal.network
  • curl -Ls kutt.it/lokalvpn --output openvpn-install.sh
  • chmod +x openvpn-install.sh
  • ./openvpn-install.sh
  • Use defaults unless advised otherwise:
What port do you want OpenVPN to listen to?
   1) Default: 1194
   2) Custom
   3) Random [49152-65535]
Port choice [1-3]: 2
Custom port [1-65535]: 443
What protocol do you want OpenVPN to use?
UDP is faster. Unless it is not available, you shouldn't use TCP.
   1) UDP
   2) TCP
Protocol [1-2]: 2

e.g (Sub client-1 for a client name of your choice)

Tell me a name for the client.
The name must consist of alphanumeric character. It may also include an underscore or a dash.
Client name: client-1
  • scp root@vpn.lokal.network:/root/client-1.ovpn ~/Downloads/
Clone this wiki locally