I would like OpenVPN GUI to remember my credentials. How to achieve that?
1. Create a .txt file on a folder alongside your .ovpn files name it what ever you want e.g. 'pass.txt'.
2. Put your VPN username and password inside the file in two(2) lines, like:
3. Then save it.
4. Open up your .ovpn file in notepad and add:
5. Save and connect to the OpenVPN server.
Each time you will launch OpenVPN GUI and connect to the server for which you have edited the .ovpn file, the client will no longer asks for your VPN credentials.
Please keep in mind though that this method puts your credentials at risk, as OpenVPN GUI does not provide encrypted remote auth process.
Related Knowledgebase Articles