Open sa6kad opened 2 years ago
As mentionned in the provided docker-compose (L25), you should either add the line command: 'server;user;password[;port]'
or a volume ./vpn:/vpn
containing your config .ovpn
file, your certificates file .crt
and a vpn.auth
file containing login/password
There is no mention of a vpn.auth
file at the location provided. How should it be formatted?
@n-sweep if still querying this, see https://github.com/dperson/openvpn-client/issues/209#issuecomment-533139744
Hi. Thanks for a great container. How can I use the "-a" option, as int the very last example, in docker-compose, how can I do that.
The example I mean is: sudo docker run -it --cap-add=NET_ADMIN --device /dev/net/tun --name vpn \ -v /some/path:/vpn -d dperson/openvpn-client -a 'username;password'
Thanks.