Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a 2nd TAP adapter for OpenVPN client on Win7/10 [closed]

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.

like image 361
flymike Avatar asked Jan 18 '14 21:01

flymike


People also ask

How do I create a 2nd tap adapter for OpenVPN client on win10?

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.

How do you fix all tap Windows adapters on this system are currently in use?

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 Answers

+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.

like image 129
MDMoore313 Avatar answered Oct 12 '22 23:10

MDMoore313