Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

how to save login details in vpn config?

Hello guys,

I'm using nvpn which uses openvpn to connect. We have to enter login details manually everytime while connecting, Is there any way to save the username and password directly inside the config files?

thnx
this issue is solved. post can be removed.
What did you do to fix this? Just add your credentials to the cert file?
(Jun 21, 2013 10:22 AM)Just a Cracker Wrote:  What did you do to fix this? Just add your credentials to the cert file?

1. Create a txt file in config folder name it what ever you want ex. 'pass.txt'
2. Put your user/pass inside the file in two lines, like:

Code
username
password

3. Then save it.
4. open up your .ovpn file in notepad and add:

Code
auth-user-pass pass.txt

5. save and connect to your openvpn server.

----Credits: xauen (openvpnforums)
Nice. Thanks for sharing. I use Nvpn once in a while and having to type that user/pass in every time is a small pita ;-)


Possibly Related Threads...
Thread / Author Replies Views Last Post
by Th3Gh05tJan 7, 2022 03:47 AM 0 107 Jan 7, 2022 03:47 AM
Last Post: Th3Gh05t
by motuaryJan 5, 2020 09:45 PM 18 418 Jan 5, 2020 09:45 PM
Last Post: motuary
by fred goffaSep 29, 2012 12:51 PM 4 284 Sep 29, 2012 12:51 PM
Last Post: fred goffa