How to Define a Multi Choice Menu in OpenVPN GUI

VPN HowTo Add comments

Instead of having to have to edit a configuration file every time you want to change your OpenVPN server, how would you like a multi-choice menu like this? It is very easy to do.

All you have to do is to create an individual script for each configuration and place it under the OpenVPN config folder.

First of all copy & paste the default tuvpn.ovpn configuration file and rename that as the server name of your choice (e.g Amsterdam, London etc)

The next thing you need to do is to open this file in notepad (as an administrator if you are using Vista and Windows7) and change the connection string to “remote amsterdam.tuvpn.com 1194” (amsterdam used here as an example… you can use any server name of your choice). Save the changes and exit.

All you are seeing in the above menu is the filename before the .ovpn extension  and 'Random' is the name given to the default config file (which has vpn.tuvpn.com as server) Now, when you go to the OpenVPN GUI tool and hover the cursor over one of the entries, you will get the usual menu as below.

You can also set up OpenVPN to use a password.txt file as per FAQ instructions, so all these servers connect automatically.

It took about 10 minutes and makes changing server a breeze !


Go to TUVPN.COM

Leave a Reply

*

Get Your VPN NOW!

©2011 TUVPN.COM. All rights reserved.