OpenVPN Client and Windows 8

So I decided to take Windows 8 for a test drive and installed the Consumer Preview.

I also installed Visual Studio 2012 RC and all my usual dev tools.

Unexpectedly the whole environment is quite stable and all my favourite tools seem to be happy with the new OS.

The only exception is OpenVPN Connect, it installs without problems and even connects to the VPN Server, but routing is not working.

Tried multiple things like running under compatibility mode, setting delays in the configuration file, using the OpenVPN GUI, installing the 64bit beta version. But to no avail.

I then came across this forum thread where someone suggests opening the Network Adapter Applet (Control PanelNetwork and InternetNetwork Connections) before connecting the VPN Client. And guess what…it works.

Some obscure service must start when the applet opens that allows the client to connect. Hopefully this will be fixed before Windows 8 is out, but for now this workaround works great.

UPDATE:

As Yaniv Kunda pointed out in the comments the “obscure” service that starts when you run the applet is “Network Connections” service (Netman), so set it to Automatic startup and it should fix the problem.

5 thoughts on “OpenVPN Client and Windows 8

  1. I found the control panel applet starts the “Network Connections” service (Netman) – so I’ve just set it to Automatic instead of Manual startup, and problem is solved!

  2. Opening the Network Connections window definitely fixes the problem for me, but unfortunately having the service start automatically does not.

  3. Same here – I tried automatically starting the service but OpenVPN only gets past the “Waiting for TUN” messages if I go to the Control Panel / Network Connections screen. It’s workable but hopefully a fix will be found soon…

  4. As the other comments, opening the Network Connections seems to fix the problem but changing the netman service to start automatically does not. I replace the OpenVPN GUI shortcut with a bat file to show the applet automatically using the following commands (and of course running as administrator):

    @echo off
    echo Opening Network Connections
    rundll32 shell32.dll,Control_RunDLL ncpa.cpl
    echo Waiting 5s…
    ping 123.45.67.89 -n 1 -w 5000 > nul
    start /D”C:Program filesOpenVPNbin” “” “C:Program filesOpenVPNbinopenvpn-gui.exe”

    Hope that’s useful to somebody!

Leave a Reply

Your email address will not be published. Required fields are marked *