Introduction:
I recently started using the BTGuard VPN service and it has taken a lot of fiddling around to make it work in any user-friendly way.
This guide will tell you how to set it up so that you can just start OpenVPN and click “Connect”, then it just works.
Instructions:
- Follow the official BTGuard steps from here.
- Close OpenVPN.
- Create a text file called password.txt and in it, put your username on the first line and your password on the second line.
- Go into your OpenVPN config folder (the same one mentioned in the official BTGuard guide) and put password.txt in there.
- Change the line “auth-user-pass” to “auth-user-pass password.txt”, and save the file.
Note: You may need to copy the file to another folder in order to edit it, then copy it back to the config folder. This is due to Windows security. - Download the latest official version of OpenVPN from here and install it.
Now you can simply start OpenVPN, right-click the icon in the system tray and click Connect. It will connect automatically, and automatically re-connect without prompting you for your login information again.
Changelog:
22/12/2011
- Updated instructions for latest BTGuard configuration
26/07/2011
- Initial article
October 22, 2011 at 5:52 am
Works like a charm
Thanks so much, the every hour reauth on BTGaurd was driving me crazy.
This was the easiest solution I found
October 23, 2011 at 12:06 pm
@Greg: Awesome, thanks for the feedback 🙂
April 1, 2012 at 10:51 pm
Thanks so much for this easy fix – although I very often get “Failed” when connecting I think that is just BTGuard’s servers being difficult.
Amazing that BTGuard does not seem to know about this procedure!
Take a bow.
April 2, 2012 at 12:45 pm
@TigerTrader: Thanks! I also think it’s strange that BTGuard don’t offer it themselves 🙂
May 16, 2014 at 8:54 pm
It is not working