OpenVPN, by default, installs only one TAP network interface. If you want to connect to multiple VPNs simultaneously you need a TAP interface for each VPN.
- Open a command prompr with administrative rights
- Go to the TAP install folder
C:\Program Files\TAP-Windows\bin
- Launch the
addtap.bat
script, the result will be :"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.
- Launch the command
openvpn --show-adapters
for checking the result :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 OpenVPN config folder and addnobind
to each config so that a dynamic (UDP) source port is used for each VPN session.
When a static assignment between a VPN and a specific interface is necessary add the TAP Interface name as parameter of the dev-node option to the openvpn config file.
dev tap
dev-node "Local Area Connection 3"
I am using
windows 10
and I can't see thisTAP-Windows
in myProgram Files
. How can I resolve this issue?@fredjoseph