Build OpenVPN on Windows with different TAP driver id.

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

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

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
Solree
OpenVpn Newbie
Posts: 1
Joined: Sat Aug 08, 2015 6:42 pm

Build OpenVPN on Windows with different TAP driver id.

Post by Solree » Sat Aug 08, 2015 7:10 pm

Hi,

I have project where I'm using OpenVPN. There I need to provide TAP driver with different ID because some our customers have some apps that grab all tap0901 and we can't use any. Before we've used OpenVPN 2.3.2 and everything was just fine. But recently Windows 10 was released where OpenVPN 2.3.2 doesn't work. But the newest version works fine. So I need to build the latest version of OpenVPN.
TAP driver is easy to build and no problems with it. But now I'm getting problems with OpenVPN. I'm using MinGW for build. When I change PRODUCT_TAP_WIN_COMPONENT_ID in version.m4 file I get "aclocal-1.14: command not found" error upon make. I've tried to find automake 1.14 for Windows and didn't find any. Maximum 1.11. Is there some way to bypass it? Why it doesn't throw this error if I don't change version.m4 file? I mean if I don't touch it then it'll build without any errors. Maybe someone have automake 1.14 for Windows? Or maybe I can hardcode ID somewhere in sources?
Also I've found that configure file has TAP_WIN_COMPONENT_ID. If I change it then it'll build without problems. Also OpenVPN will see only our drivers. But when I try to connect it always shows "All TAP-Windows adapters on this system are currently in use." for some reason. No matter how many drivers are registered in a system.

Thanks.

Post Reply