OpenVPN GUI client and Windows Vista

Dude's picture
Communications | Debian Support

I installed the lasted stable version of the OpenVPN installer package with the GUI (openvpn2.0.9-gui-1.0.3-install.exe) on Windows Vista. During install it says the the TAP drive is not signed by Microsoft but like always you continue anyways.

I dropped in my config files including the client.ovpn file. I test the connection and it connects to the OpenVPN server but i am unable to connect to the server behind the VPN. After checking the client log files. There was an error with adding the ROUTE command. The ROUTE command adds a route to the network behind the your VPN server. Giving you access to servers and such behind the VPN (asumming your VPN server is also a Gateway/Router/Firewall). To fix this adding ROUTE issue you have to do two things: Add 2 lines to the .ovpn file and run the GUI as an administrator... Here are the steps:

1) Open your client.ovpn file and add the following two lines to the bottom of the file:
route-method exe
route-delay 2

2) Create a shortcut to your OpenVPN GUI file. Right click the shortcut and click properties.
Under the 'Shortcut' tab.
Click 'advanced'.
Check the box that says 'Run as administrator' and
then Click 'OK' and 'OK' again.

Then make sure that the OpenVPN GUI is started from that shortcut. Either by manually clicking it or by placing in the startup folder. Now when you connect you will be able to access the servers behind your VPN. If you check the client log the ROUTE commands are now added successfully.