Quick and easy way to setup an OpenVPN server using Docker with a single command.
$ curl -fsSLO https://raw.githubusercontent.com/tuladhar/easy-openvpn/main/easy-openvpn.sh
$ chmod +x easy-openvpn.sh
NOTE:
ENDPOINT
can be an IP address or domain name of the openvpn server.- Allow the UDP port 1194 (openvpn) on the firewall.
$ ./easy-openvpn.sh --name example --endpoint ENDPOINT
$ ./easy-openvpn.sh --name example --client client1
$ ./easy-openvpn.sh --name example --client client2
$ ./easy-openvpn.sh --name example --client client3