Docker OpenVPN
Github link
Installation
Pick a name for the
$OVPN_DATA
data volume container. It's recommended to use theovpn-data-
prefix to operate seamlessly with the reference systemd service. Users are encourage to replaceexample
with a descriptive name of their choosing.Initialize the
$OVPN_DATA
container that will hold the configuration files and certificates. The container will prompt for a passphrase to protect the private key used by the newly generated certificate authority. RemplaceVPN.SERVERNAME.COM
by an IP address or a server name.Start OpenVPN server process
Generate a client certificate without a passphrase. Remplace
CLIENTNAME
by the name of the user.Retrieve the client configuration with embedded certificates. Remplace
CLIENTNAME
by the name of the user.Copy you opvn configuration file to your client host. For Windows you can use the SCP command described here Powershell - SCP