Best free VPN server for Docker
$ docker-compose up -d
$ docker-compose run --rm openvpn set_passphrase
docker-compose exec openvpn add_client CLIENTNAME
docker-compose exec openvpn get_client CLIENTNAME > CLIENTNAME.ovpn
$ docker-compose exec openvpn ovpn_revokeclient $CLIENTNAME remove
Ubuntu clients need the following installed
# apt-get install openvpn-systemd-resolved
And should have a config file generated using the following command
$ docker-compose exec openvpn get_client CLIENTNAME --ubuntu > CLIENTNAME.ovpn
push "route 0.0.0.0 128.0.0.0 net_gateway"
push "route 128.0.0.0 128.0.0.0 net_gateway"