Skip to content

Latest commit

 

History

History

openvpn

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

OpenVPN

If docker fails to start after installing openvpn, uninstall openvpn, install docker-ce, make sure docker daemon is running and the re install openvpn again. Everything should work now.

docker-compose build openvpn

# Initialize the configuration files and certificates
docker-compose run --rm openvpn ovpn_genconfig -u udp://VPN.SERVERNAME.COM
docker-compose run --rm openvpn ovpn_initpki

docker-compose up -d openvpn

# CLIENTNAME='peter'
# Generate Client Certs
docker-compose run --rm openvpn easyrsa build-client-full $CLIENTNAME nopass

# Retrieve the client configuration with embedded certificates
docker-compose run --rm openvpn ovpn_getclient $CLIENTNAME > ovpn/$CLIENTNAME.ovpn

# Revoke a client certificate
docker-compose run --rm openvpn ovpn_revokeclient $CLIENTNAME remove

tunnelblick

https://tunnelblick.net/