+1, I actually had to dig for this because the Add TAP Adapter
link that used to be in the OpenVPN folder isn't there. This is because now it's a separate install (see this ticket), and as such the utilities are located in the %PROGRAMFILES%\Tap-Windows folder, under that folder there is a bin folder, and you can run the AddTap.bat
script to add a new adapter, with elevated permissions of course.
How to create a 2nd TAP adapter for OpenVPN client on Win7/10 [closed]
Pergunta
I want to create 2 separate tunnels on 2 separate subnets, so I have 2 separate .ovpn (client) files.
The 1st tunnel comes up, but the 2nd one fails because of a conflict over the same TAP-windows adapter. Evidently the 2nd tunnel needs its own TAP-windows adapter.
How to create a 2nd TAP-windows adapter? Apparently there used to be a utility packaged with the Windows OpenVPN installer - but there no longer is.
Solução
Outras dicas
There is already a driver for new installation at:
C:\Users\Luis->dir "%PROGRAMFILES%\TAP-Windows\driver\"
Volume in drive C is Windows7
Volume Serial Number is: 54AF-1483
Directory of C:\Program Files\TAP-Windows\driver
28/07/2015 01:22 <DIR> .
28/07/2015 01:22 <DIR> ..
05/11/2014 15:16 7.523 OemVista.inf
05/11/2014 15:16 9.194 tap0901.cat
05/11/2014 15:16 27.136 tap0901.sys
3 archivos 43.853 bytes
You can simply install a new TAP adapter referring this path with the New Hardware Wizard at Control Panel (just running hdwwiz.exe
on Win Vista and above). Select Manual Installation --> Network Adapter .
Tested on Windows XP SP3 and Windows 7 SP1.
Example of my Windows 7 SP1 computer with a physical NIC, 2 TAP adapters, a PPTP and a virtual NIC created by VirtualBox: