OpenVPN: Connect to multiple VPNs on Windows


on Windows OpenVPN by default installs one TAP network interface. If you want to connect to multiple VPNs simultaneously you need an interface for each VPN.

You can add a additional adapter by a batch file provided by the TAP driver. Open a command prompt with administrative rights and change to the TAP install folder.

c:\> cd "C:\Program Files\TAP-Windows\bin"

and call

C:\Program Files\TAP-Windows\bin\>  addtap.bat

"devcon.exe" install "C:\Program Files\TAP-Windows\driver\OemWin2k.inf" tap0901
Device node created. Install is complete when drivers are installed...
Updating drivers for tap0901 from C:\Program Files\TAP-Windows\driver\OemWin2k.inf.
Drivers installed successfully.

and check it:

C:\Program Files\OpenVPN\bin> openvpn --show-adapters
Available TAP-WIN32 adapters [name, GUID]:
'Local Area Connection 2' {DD2A53C5-63BD-492A-A7F4-94E724007B2A}
'Local Area Connection 3' {EF7623C03-542A-34E8-B633-E3B742983E3}

Put your .ovpn config  and certificates files to the C:\Program Files\OpenVPN\config folder and add the nobind to each config so that a dynamic (UDP) source port is used for each VPN session respective openvpn process.

When a static assignment between a VPN and specific interface is necessary add the TAP Interfacename as parameter of the dev-node option to the openvpn config file:

dev tap
dev-node "Local Area Connection 3"


Advertisment to support

Add a comment »7 comments to this article

  1. This was great help. Thanks!


  2. This helps me a lot, thank you!


  3. This was very helpful to me also, thanks !


  4. Thank you very much. It helped except the installation first step has to be run command prompt in ADMINISTRATOR mode


  5. Instructions are Perfect. Thanks!


  6. Thank you, it works. Dont feel puzzled, if you configured a tun device at the server end, you have to “addtap” on the windows client anyway.


  7. Worked like a charm, thank you


Time limit is exhausted. Please reload CAPTCHA.

Original Theme by Schiy · Powered by WordPress