Page 1 of 1

Change VPN node without having to edit client?

Posted: Sun Mar 20, 2011 8:10 pm
by gurudog
I've seen a couple VPN providers create their own custom Windows interfaces so that users only need to click a dropdown menu to select the node that they want to connect to (i.e. newyork, london, etc.)

I want to do something similar so users don't have to edit the client file each time they want to switch IPs.

Does anyone know how to this with a hack or simple script?

I'm not good with Win scripting, but was thinking this could be done with a custom browser toolbar that overwrites the client file with the VPN url.

Any thoughts?

Re: Change VPN node without having to edit client?

Posted: Mon Mar 21, 2011 10:03 am
by maikcat
hi there,

you can always use the openvpn gui with preconfigured multiple
openvpn configuration files.


cheers,

michael.

Re: Change VPN node without having to edit client?

Posted: Mon Mar 21, 2011 4:59 pm
by gurudog
I know that 2.2+ of OpenVPN client supports multiple configs...

But - once these are properly placed in the configuration folder, do these actually come up as different options to connect within the Windows GUI?

THX!

Re: Change VPN node without having to edit client?

Posted: Mon Mar 21, 2011 5:40 pm
by gurudog
Ok...I figured out that I can have multiple .ovpn files in the config folder and this will allow me to have multiple connections to choose from or select from (in Windows GUI at least).

topic7744.html

Using 2.2RC, If I just drop:

client1.ovpn
client2.ovpn

Into the config folder this doesn't seem to be enough as I don't see additional connections in the GUI.

Do I need to compile the build? Can someone give me a hint as to the steps?

Thx

Re: Change VPN node without having to edit client?

Posted: Mon Mar 21, 2011 6:05 pm
by gurudog
Ok, I got it :)

I changed the location of the VPN for my 2nd .ovpn file and saved it inside the configuration folder.

Bam! I now have a 2nd selection for my users to select and connect to inside the windows GUI.

Re: Change VPN node without having to edit client?

Posted: Mon Mar 21, 2011 6:10 pm
by gurudog
*BTW, I did not have to recompile the OpenVPN client. My only problem was the .ovpn filenames had to be unique and in the same folder.

Re: Change VPN node without having to edit client?

Posted: Tue Mar 22, 2011 7:17 am
by maikcat
ok then,

SOLVED.


michael.