Monday, March 8, 2010

OpenVPN 2.1.1 with save-password enabled (VPNUK Edition)

A couple of days ago, I received an email from VPNUK asking whether I could compile the latest openvpn (2.1.1) with save-password enabled and if I could make a setup that would include their pre-configured config files in the config folder.
I accepted the challenge and not only did I build the latest version of openvpn with save-password enabled, I also modified the openvpn-gui application in order to provide the end users the means to set their connections’ credentials.

In the beginning I added a new menu item that said “Change credentials…” but later on I decided to modify the build-in “Change password” menu item. The modified version will detect whether or not you have the auth-user-pass in you .ovpn file and if you have it, it will display the following dialogue:
I also modified the installation a little bit in order to fix a couple of bugs (uninstalling while openvpn –gui is running etc) and add a few extra things (reboot at the end of the setup, autostart openvpn-gui etc).
If you are interested in downloading this modified version you can download it from VPNUK’s website by clicking here.

By the way, you should totally check out VPNUK.info! They provide cheap, amazingly fast vpn access to hundreds of remote servers all around the world. While testing the application I was able to stream TV episodes from a well know USA channel that only streams inside the US. So if you need to fake your ip and let others think that you are in another country, don’t miss VPNUK (you can even ask for a free trial).

PS: This build includes both the x86 and x64 TAP drivers

19 comments:

Johan said...

Thank you. This saves me a lot of trouble trying to compile myself.

Anonymous said...

Thanks!
Would you please provide a link to the modified source code archive? Thanks again!

yegle said...

Hi,
Can you provide the modified source of OpenVPN GUI?Thank you:-)

Andreas Botsikas said...

Thanks for your interest! I have already contacted the folks that have created Openvpn-GUI to share my changes with them and have them incorporated in the latest build. I'll let you know how this goes!

Anonymous said...

Thanks a lot! :)

Carl Youngblood said...

Just a question. I noticed that VPNUK offers PPTP and L2TP connections. Are they using openvpn for these or do they have multiple VPN services running on their boxes? I am under the impression that openvpn uses a different protocol and has no emulation for these VPN services.

Andreas Botsikas said...

I am afraid Carl that you'll have to ask them yourself. I don't work for them, thus I don't know how they do that.

Fabius said...

Hello,

i asked VPNUK for the sourcecode, but the are not able to send me the source.
Can you send me the sourcecode? Or make it availiable ?

Regards,

Fabian

Anonymous said...

yes thank you! I searched so long for this problem to save the password in a file!
I'll link your site.

Johar said...

Thanks you veri much

Johar said...

Thanks You Verimuch

Works with Free VPN service said...

Good, thanks!

I used it with a free openvpn service from http://www.freeusvpn.com and it works very well to save the password, thanks!

Anonymous said...

pls help me out,i download openvpn 2.1 on my window 7,,,i run it as an administrator and it installed.but when i connect my freedom it say my openvpn is too old i should upgrade it to 2.1,,may b its my GUI cos dats 1.0.9,,pls i really need your support.

Andreas Botsikas said...

The GUI is not your problem. You will need a newer version of openvpn which I have compiled but is still in beta so I can't release yet. You may download it from http://www.4shared.com/file/ygJ4Znan/vpnuk-openvpn-222-alpha.html

I have also added the requireAdministrator in the UAC execution level in order to have openvpn-gui run as admin (which is required to run properly)

laptoptelly said...
This comment has been removed by the author.
TaugenX said...

hello, everything works fine, exept the .ovpn file. it must have to do with different settings for my vpn provider.

I use https://torrentprivacy.com

this is the text in my original .ovpn (the one that i have to enter the password every time):

client
dev tap
proto tcp
port 5577
remote vpn.torrentprivacy.com
resolv-retry infinite
nobind
persist-key
persist-tun
ca tp.ca.crt
comp-lzo
verb 3
auth-user-pass
auth-nocache
pull

Is there way to copy and paste from your .ovpn in order for your mod-files to work for me? Until now with you file, It just keeps repeating trying to logon endlessly.

Thank you soo much!

TaugenX said...

To all haveing the same problem with getting the password going automatically: I have found die solution for the www.torrentprivacy.com-VPN

put your password in the config-folder (or anywhere else if you please)

1.line: username, 2.line: password

Then edit the .ovpn as follows:

client
dev tap
proto tcp
port 5577
remote vpn.torrentprivacy.com
resolv-retry infinite
nobind
persist-key
persist-tun
ca tp.ca.crt
comp-lzo
verb 3
auth-user-pass "C:\\Program Files (x86)\\OpenVPN\\config\\pw.txt"
pull

This works on my laptop under windows 7
of course in "VISTA-MODE", etc...

Have fun!

Jack West said...

Any chance of getting save-password enabled version for the newer OpenVPN builds?

OpenVPN 2.3_beta1 or the upcoming future OpenVPN 2.3

Only latest one I found so far was 2.2.0 from ACEVPN website. I have no idea why OpenVPN developer themselves can't release a password enable build.

Thanks

Anonymous said...

Many thanks .
would you please tell us how to compile the Windows openvpn?