Friday, April 9, 2010

OpenVPN on Windows 7

OpenVPNI had some trouble getting OpenVPN to work on my Windows 7 laptop. After a lot of messing around it turns out to be a fairly simple operation, so to save others the messing around part here are the steps to follow.

  1. Download the latest OpenVPN windows installer from http://openvpn.net/index.php/open-source/downloads.html I used openvpn-2.1.1-install.exe
  2. Completely uninstall any previous versions of OpenVPN from your machine
  3. Install OpenVPN
  4. On the start menu right click “OpenVPN GUI” and click properties. On the Compatibility tab select “Change settings for all users” then tick the box “Run this program as an administrator”
  5. This step is not so obvious. Open the network and sharing centre and click on “Change adapter settings”. There should be a Local Area Connection with the type TAP-Win32 Adapter, right click on this and select properties. Tick the boxes next to “Internet Protocol Version 6 (TCP/IPv6)” and “Internet Protocol Version 4 (TCP/IPv4)”
  6. Copy your config and credentials files into the C:\Program Files\OpenVPN\config folder
  7. Now click OpenVPN-GUI in the start menu. You’ll have to enter your Administrator password to run it. When it’s running just right click on the OpenVPN icon in the system tray and select connect

And that’s it! I hope it works for you too, leave a comment to let me know…

4 comments:

  1. You shouldn't have to do the IPv4 and IPv6 clicks on TAP-Win32 - Something must have gone wrong during setup.

    The run as administrator is needed to add routes, the non-admin user can't add routes under Vista or Win7.

    Nice blog posts on Android,

    Steve Radich
    www.BitShop.com

    ReplyDelete
  2. Anyone know if there is a way to get around the end user having to input admin password? What can I do for my end users?

    ReplyDelete
  3. The run as administrator is needed to add routes, the non-admin user can't add routes under Vista or Win7. nice blog posted.
    php development

    ReplyDelete
  4. It is an intense danger that relatively few clients know about, yet it is bringing on major issues like wholesale fraud and basic information misfortune consistently. http://how-to-remove.org/malware/adware-removal/uninstallmalware-com-removal/

    ReplyDelete