openvpn-build icon indicating copy to clipboard operation
openvpn-build copied to clipboard

There are no TAP-Windows adapters on this system. You should be able to create a TAP-Windows adapter by going to Start -> All Programs -> TAP-Windows -> Utilities -> Add a new TAP-Windows virtual ethernet adapter.

Open yixuan0719 opened this issue 6 years ago • 20 comments

I have execute the tapctl.exe file, i can see the tap adapter on my computer, please check the attachment. I can't see the "TAP-Windows " program, so can't create a tap-windows adapters manually, what i should do now? network_adapter

yixuan0719 avatar Nov 25 '19 10:11 yixuan0719

what is OAS ? is it Access Server ?

chipitsine avatar Nov 25 '19 10:11 chipitsine

I don't know, maybe it is created by the other programs.

yixuan0719 avatar Nov 25 '19 12:11 yixuan0719

can you try installing community openvpn ? I guess similar adapter (without OAS) should appear

chipitsine avatar Nov 25 '19 12:11 chipitsine

btw, do you mean tapctl from AS package ?

chipitsine avatar Nov 25 '19 12:11 chipitsine

Just guess, can you tell me what the tapctl.exe is used to ?

yixuan0719 avatar Nov 25 '19 12:11 yixuan0719

I tried to run tapctl.exe, but I didn't see any execution details.

yixuan0719 avatar Nov 25 '19 12:11 yixuan0719

The build.bat file in the "openvpn-build\msvc" directory, only copy the header file of TAP, neither compile the source files, nor install process, is this correct?

yixuan0719 avatar Nov 25 '19 12:11 yixuan0719

Just guess, can you tell me what the tapctl.exe is used to ?

it is an utility for creation TAP interfaces

I tried to run tapctl.exe, but I didn't see any execution details.

that's a way it is designed. if you are not happy about it, you can send pull request

The build.bat file in the "openvpn-build\msvc" directory, only copy the header file of TAP, neither compile the source files, nor install process, is this correct?

no, it is not correct

chipitsine avatar Nov 25 '19 20:11 chipitsine

That's all for the TAP in the build.bat, is it enough? echo TAP

copy build.tmp\tap-windows6-%TAP_VERSION%\src\tap-windows.h "%TARGET%\include" if errorlevel 1 goto error

if "%MODE%" == "DEPS" goto end

yixuan0719 avatar Nov 26 '19 01:11 yixuan0719

Yes, that is enough

chipitsine avatar Nov 26 '19 03:11 chipitsine

OK,can you tell me what the openvpnserv.exe is used to ?

yixuan0719 avatar Nov 26 '19 05:11 yixuan0719

This project does not include the openvpn GUI, what i should do if i want to build the openvpn GUI in this project? any wiki page or doc?

yixuan0719 avatar Nov 26 '19 06:11 yixuan0719

this project does include GUI as well. documentation is provided here: https://github.com/OpenVPN/openvpn-build/blob/master/README.rst

chipitsine avatar Nov 26 '19 06:11 chipitsine

OK,can you tell me what the openvpnserv.exe is used to ?

it is non interactive windows service

chipitsine avatar Nov 26 '19 06:11 chipitsine

We don't yet use tapctl.exe in our released builds. Instead we use the old tapinstall.exe / devcon.exe. OpenVPN 2.5 will be the first version to use tapctl.exe.

mattock avatar Nov 26 '19 14:11 mattock

I am using the master branch, it can generate the tapctl.exe now, maybe i shoud change the branch from master to 2.4.7?

yixuan0719 avatar Nov 28 '19 01:11 yixuan0719

Hi Could you tell me where i can get the tapinstall.exe / devcon.exe? i can't access the community-download page of openvpn, thanks in advance.

yixuan0719 avatar Nov 28 '19 01:11 yixuan0719

Is your access failure temporary or permanent ? openvpn.net had some issues yesterday ..

TinCanTech avatar Nov 28 '19 14:11 TinCanTech

Hi Could you tell me where i can get the tapinstall.exe / devcon.exe? i can't access the community-download page of openvpn, thanks in advance.

Devcon is a part of the Windows Driver Samples package: https://github.com/microsoft/Windows-driver-samples/tree/master/setup/devcon

Mind that tapctl.exe has a different syntax than devcon.exe and does not install or update the driver. This is (will be) the installer's job. Therefore, it is not a snap-in replacement for the devcon.exe. If you are looking to script the process before the official 2.5 release using tapctl.exe, I suggest you try this:

pnputil -i -a OemVista.inf
tapctl create --name "My VPN Connection"

rozmansi avatar Nov 29 '19 04:11 rozmansi

Tapinstall.exe / devcon.exe can be obtained from official OpenVPN installers. If you don't want to actually install OpenVPN to get it, you can extract the archive with 7-zip. There are three tapinstall.exe's there, but the largest is probably for x86_64/amd64 architecture.

mattock avatar Nov 29 '19 11:11 mattock

Tapinstall.exe / devcon.exe can be obtained from official OpenVPN installers. If you don't want to actually install OpenVPN to get it, you can extract the archive with 7-zip. There are three tapinstall.exe's there, but the largest is probably for x86_64/amd64 architecture.

Thanks a lot.. This solution worked for me on Windows 11.

qorbanpur avatar Feb 13 '23 11:02 qorbanpur

This seems to be an old 2.4 issue

flichtenheld avatar Mar 06 '24 15:03 flichtenheld