How does openvpn.exe detect if an adapter is TAP-Win32?

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
jeremychild
OpenVpn Newbie
Posts: 3
Joined: Sat Oct 16, 2010 6:18 am

How does openvpn.exe detect if an adapter is TAP-Win32?

Post by jeremychild » Sat Oct 16, 2010 6:20 am

I have customised the inf files for both 32 and 64 bit TAP drivers that were bundled with OpenVPN.

I then installed them and attempted to use them but they are not discovered by OpenVPN.exe ...

Exactly how does OpenVPN detect if an adapter in the windows adapter list is actually a TAP-Win32 adapter. Is it simple text contains/ is like ?

Can someone shed some light on how it detects the adapters when using the --show-adapters argument.

Thankyou!

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: How does openvpn.exe detect if an adapter is TAP-Win32?

Post by krzee » Mon Oct 18, 2010 9:04 pm

what are your customizations for?

jeremychild
OpenVpn Newbie
Posts: 3
Joined: Sat Oct 16, 2010 6:18 am

Re: How does openvpn.exe detect if an adapter is TAP-Win32?

Post by jeremychild » Fri Oct 22, 2010 1:08 am

I have customised the name of the adapter, the manufacter and the device name.

ie: tapVPN32

[Strings]
DeviceDescription = "VPN Tunnel Adapter"
Provider = "VPN Provider"

Is this an issue?

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: How does openvpn.exe detect if an adapter is TAP-Win32?

Post by krzee » Fri Oct 22, 2010 7:23 am

that is not how you rename the tap device
go here
http://openvpn.net/INSTALL-win32.html
and read this:
Notes -- Windows and TAP device naming

Post Reply