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.
You should be able to create a TAP-Windows adapter by going to Start -> All Programs -> OpenVPN -> Add a new TAP-Windows virtual ethernet adapter. The log recommends running "Start -> All Programs -> OpenVPN -> Add a new TAP-Windows virtual ethernet adapter", but recent versions of OpenVPN don't install that anymore.
The error "All TAP-Windows adapters on this system are currently in use" suggests that there is a problem with the virtual Tun/Tap network adapter used by OpenVPN on Windows. To solve the issue, you need to re-enable the adapter or reinstall the driver.
+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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With