This repository was archived by the owner on Oct 12, 2021. It is now read-only.
forked from dnk8n/openvpn-install
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Dean Kayton edited this page Jun 17, 2021
·
4 revisions
- Add new server
- [Optional] Configure DNS with A record so that
vpn.lokal.networkpoints to server's public IP address ssh [email protected]curl -Ls kutt.it/lokalvpn --output openvpn-install.shchmod +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 [email protected]:/root/client-1.ovpn ~/Downloads/