How can I avoid having to enter my VPN username and password whenever connecting to my VPN with OpenVPN?

 

First, you must have installed the latest version of TUVPN OpenVPN client for Windows to utilise the option of saving username and password for OpenVPN. This process cannot be applied for users of Mac or Linux systems.

Once you have ensured that you have the latest OpenVPN client, open Notepad by running it as Administrator. You do this by right-clicking over notepad and clicking 'Run as administrator'. Then type in your VPN username and password in two separate lines (no line space between them!) :

 Then save the new text file in the Config subfolder of the OpenVPN program folder (by default, C: \ Program Files \ OpenVPN \ config). Use the file name 'pass.txt'.

 Finally we have to tell OpenVPN to read our username and password from this 'txt' file. To do this, edit the OpenVPN configuration in the same way we switch vpn node (see Tutorials) and add 'pass.txt' to the line 'auth_user_pass'. Just one space between this text and the newly added 'pass.txt'.

 

 Close the OpenVPN config notepad window and save you changes. You will no longer be asked for your username and password when connecting to your vpn!

 NB: Any person accessing your machine as a user with Administrator privileges can read this file and find your VPN username and password. We hope that you understand the risks involved and whether or not this is acceptable to you.

 

Back to FAQs

Latest Blog / News

Free VPN Winners of the Week

Mon, 14 May 2012 17:44:14

Here you have the One Month Free VPN Winners of our Crazy Twitter Promotion: Frugalytics FreeWifiSpotr Bernd Kehr Chris crazyjunki [...]

Free VPN Winners of the Week

Mon, 07 May 2012 17:17:36

Here you have the One Month Free VPN Winners of our Crazy Twitter Promotion: Chory alessandro maurencig 壁を乗り越え miao onion 洋葱猫 yoma [...]

Free VPN Winners of the Week

Mon, 30 Apr 2012 17:27:31

Here you have the One Month Free VPN Winners of our Crazy Twitter Promotion: cybersyndrome w00000p Martin Heine Dimitar Dashev Hap [...]

Free VPN Winners of the Week

Mon, 23 Apr 2012 17:04:41

Here you have the One Month Free VPN Winners of our Crazy Twitter Promotion: Dimitar Dashev Happier Abroad Renda Twisselman Maulan [...]

Free VPN Winners of the Week

Mon, 09 Apr 2012 17:28:32

Here you have the One Month Free VPN Winners of our Crazy Twitter Promotion: ™ʇɾ ‏ nenadstosic Vrashnahk ‏ Anony [...]

Free VPN Winners of the Week

Mon, 02 Apr 2012 16:56:08

Here you have the One Month Free VPN Winners of our Crazy Twitter Promotion: Fisuyi omotayo Renda Twisselman Wirelayer.net easyOwn [...]

Free VPN Winners of the Week

Mon, 26 Mar 2012 17:06:46

Here you have the One Month Free VPN Winners of our Crazy Twitter Promotion: luthfy02 addi simo obliterated M Fahmi Asher Johnston [...]

Free VPN Winners of the Week

Mon, 19 Mar 2012 17:54:47

Here you have the One Month Free VPN Winners of our Crazy Twitter Promotion: TaRek Oth Zapa FreeWifiSpotr lineth Wirelayer And nex [...]

Free VPN Winners of the Week

Mon, 12 Mar 2012 17:02:57

Here you have the One Month Free VPN Winners of our Crazy Twitter Promotion: Linda Williams AnonFB-SupportDE dExtEr B4INEU yjr And [...]

Free VPN Winners of the Week

Mon, 05 Mar 2012 17:30:33

Here you have the One Month Free VPN Winners of our Crazy Twitter Promotion: ☢4ntibiotic☢ Michael Ibera Cera bigcoffee hailiang lv [...]

Download Area





 Getting Started Guide and downloads for other OSs and Platforms


   

Payment Methods: