-
Notifications
You must be signed in to change notification settings - Fork 407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TUN_IFACE_CREATE, cannot acquire TAP handle #238
Comments
How do you build core library? Note that official CMake scripts set Using of tap-windows6 driver doesn't require admin privileges. |
@lstipakov Thanks Reply!
But when I am a non-admin account, the client assigns the IP successfully, but the setting of the virtual network IP is unsuccessful. |
To manipulate network settings, you need to either run openvpn process with elevated privileges or use agent service. |
|
If I do not install the Tapwindows/wintun driver through the openvpn-2.xx client, is there any other way to install it separately? |
This repo is a library, not full-fledged client. Installing the driver is outside the scope of this library. The easiest way to get the driver is to install openvpn2 client. |
It is possible but you would need Admin Privileges to set it up and I'm not sure whether it's possible with WinTun.
My Drivers are installed during the installion of the Client and likewise removed during un-install. |
|
Sorry for the late reply, but WinTun seems tricky and I failed to install it (Create the Adapter). build.openvpn.net provides merge module files such as wintun-amd64-0.8.1.msm, and is installed using Microsoft Visual Studio Installer Projects (or idk an installer that supports merge modules.) I Tried it except it didn't create my Adapter :/, or maybe i'm missing something? The other option would be to look at WinTun and look at how they create the Adapter. I haven't Yet, got to implement WinTun into my App, so I can't really provide much help... Hope this Helps... |
When I use openvpn3, I get an error when I use TapWindows6.
When TAP_WIN_COMPONENT_ID is defined as tap0901, tun can be created,Why does TAP_WIN_COMPONENT_ID have no defined value?
Does Windows use TapWindows driver in openvpn3 need admin privileges?
The text was updated successfully, but these errors were encountered: