How to set the Login & Password for OpenVPN so that you don't need to enter it each time?

When you are connecting to OpenVPN network, it prompts you to enter username and password for each time you try to get connected.

You can use following instructions to setup OpenVPN use the same credentials every time you try to access Smart DNS Proxy VPN network with OpenVPN application on your Windows or Ubuntu computers.

1. Create a txt file on a folder alongside your .ovpn files name it what ever you want ex. 'pass.txt'

2. Put your user/pass inside the file in two lines, like:


3. Then save it.

4. open up your .ovpn file in notepad and changeauth-user-pass
auth-user-pass pass.txt

5. Save and connect to your openvpn server.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.