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

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
ottoturbo
OpenVpn Newbie
Posts: 5
Joined: Sat Jan 02, 2016 11:53 am

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

Post by ottoturbo » Sat Jan 02, 2016 12:20 pm

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

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

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

Post by krzee » Mon Jan 11, 2016 9:40 pm

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.

ottoturbo
OpenVpn Newbie
Posts: 5
Joined: Sat Jan 02, 2016 11:53 am

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

Post by ottoturbo » Wed Jan 13, 2016 3:32 pm

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.

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

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

Post by krzee » Wed Jan 13, 2016 9:15 pm

you should be downloading openvpn from https://openvpn.net/index.php/download/ ... loads.html

ottoturbo
OpenVpn Newbie
Posts: 5
Joined: Sat Jan 02, 2016 11:53 am

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

Post by ottoturbo » Sun Jan 17, 2016 9:20 am

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.

ottoturbo
OpenVpn Newbie
Posts: 5
Joined: Sat Jan 02, 2016 11:53 am

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

Post by ottoturbo » Sun Feb 07, 2016 4:38 pm

Why does it ask for user/pass when this is added to config: "auth-user-pass pass.txt"

Post Reply