openvpn-client icon indicating copy to clipboard operation
openvpn-client copied to clipboard

NordVPN AUTH_FAILED

Open henrywhitaker3 opened this issue 4 years ago • 5 comments

So I have the container set up with nord's conf file in vpn.conf and a creds file, but keep getting a AUTH_FAILED error.

I created the container by running:

docker run -it --cap-add=NET_ADMIN --device /dev/net/tun -p 9117:9117 --name vpn --dns 1.0.0.1 -v /home/henry/data/nordvpn/:/vpn --restart=unless-stopped -d dperson/openvpn-client:latest -f ""

Looking through the logs, I can see

openvpn --cd /vpn --config /vpn/vpn.conf --script-security 2 --redirect-gateway def1 --auth-user-pass /vpn/vpn.auth

running using vpn/vpn.auth for creds, however this contains the same as the creds file in auth-user-pass in the vpn.conf.

I've confirmed the creds file and ovpn file work on the host and connect successfully, but can never get it to work in this container. Any ideas?

henrywhitaker3 avatar Aug 13 '20 20:08 henrywhitaker3