Monday, May 03, 2010

How to connect to Tomato VPN in Windows 7 and Vista

I have recently upgrade my main laptop from XP to windows 7, I was updating my Tomato OpenVPN setup as well.  My recent blog entry shows instructions on how to setup OpenVPN server from the tomato router.  A lot has changed since then.  For me now it's Windows 7 and OpenVPN windows installer now comes with a GUI, you don't have to install it yourself.  The installation went well, however after I set everything up and I tried to connect I got this error message.

The requested operation requires elevation.

ERROR: Windows route add command failed [adaptive]: system() returned 

I can connect to my server, however I can't add the route to my Tomato router, therefore my traffic does not route through the Tomato VPN server.  

For those who are experiencing the same error, I found it on requires a simple fix.  First you have to configure the GUI such that it works with your ovpn and your static.key file.  Instead of using the connect.ovpn file from anywhere, you can connect by using the GUI which came with the installer.  The trick is to run the GUI as administrator, this can fix this error and I can connect to the VPN server.  

One trick is to run OpenVPN as a service and run as administrator, you can also make your computer connect automatically each time you logon. 


Music Fever said...

Very good opportunity for those who seem like in this field, aim to comprehend and get something from one one this, good work keep it up
buy a vpn account

historypak said...

Really a great addition. I have read this marvelous post. Thanks for sharing information about it. I really like that. Thanks so lot for your convene. private internet access review

MSHABBER said...

Great write-up, I am a big believer in commenting on blogs to inform the blog writers know that they’ve added something worthwhile to the world wide web!.. learn more

elizabethleery said...

I am very enjoyed for this blog. Its an informative topic. It help me very much to solve some problems. Its opportunity are so fantastic and working style so speedy. dedicated vps