How to Save Username/Password for OpenVPN

2019-2-1 7:35:29 | 浏览:

If your running OpenVPN from the command line its always handy if you could just save those details so you dont need to enter them everytime you open a profile, to acheive that just follow the simple steps below:

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(2) lines, like:


3) Then save it.

4) Open up your .ovpn file in notepad and add:

auth-user-pass pass.txt

5) Save and connect to your openvpn profile.

Thats it!