Page 1 of 1

auth-user-pass only works with one ovpn config file

Posted: Sat Jan 02, 2016 12:20 pm
by ottoturbo
I've added "auth-user-pass pass.txt" to a .ovpn server config file to automatically log in. This only works with one server. If I add the exact same string to another server ovpn config file, it will ask for user/pass like before. OpenVPN 1.0.3 Windows GUI

Re: auth-user-pass only works with one ovpn config file

Posted: Mon Jan 11, 2016 9:40 pm
by krzee
You say you added it to a server config, but --auth-user-pass is not valid in a server config. It is a client-only config option.

Re: auth-user-pass only works with one ovpn config file

Posted: Wed Jan 13, 2016 3:32 pm
by ottoturbo
Yes, it's for the client. I'm using this, http://openvpn.se/screenshots.html, since it's what Private internet access provides VPN configuration files for.

Re: auth-user-pass only works with one ovpn config file

Posted: Wed Jan 13, 2016 9:15 pm
by krzee
you should be downloading openvpn from https://openvpn.net/index.php/download/ ... loads.html

Re: auth-user-pass only works with one ovpn config file

Posted: Sun Jan 17, 2016 9:20 am
by ottoturbo
Same problem with openvpn-install-2.3.10-I601-x86_64 Config files are exactly the same, but auth-user-pass doesn't work, it will prompt me for user/pass when connection to the server.

Re: auth-user-pass only works with one ovpn config file

Posted: Sun Feb 07, 2016 4:38 pm
by ottoturbo
Why does it ask for user/pass when this is added to config: "auth-user-pass pass.txt"