How to Save Username/Password for OpenVPN

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:
username password
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!
来源:https://torguard.net/knowledgebase.php?action=displayarticle&id=138