Double checked that it was in my original email :)
> * if you have OpenVPN GUI client installed, run under administrative
command prompt:
> c:\Program Files\TAP-Windows\bin>tapinstall.exe install
c:\Temp\wintun\wintun.inf wintun
> * alternatively you can install driver via windows device manager ->
action ->add legacy hardware -> install manually ->
> point to wintun.inf in C:\Temp\wintun
If I am not mistaken, tapinstall is a renamed devcon, so same arguments
might work.
You could also patch our own tapctl tool:
diff --git a/src/tapctl/tap.c b/src/tapctl/tap.c
index e75db354..905fef66 100644
--- a/src/tapctl/tap.c
+++ b/src/tapctl/tap.c
@@ -41,7 +41,7 @@
const static GUID GUID_DEVCLASS_NET = { 0x4d36e972L, 0xe325, 0x11ce, {
0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18 } };
-const static TCHAR szzHardwareIDs[] = TEXT("root\\")
TEXT(TAP_WIN_COMPONENT_ID) TEXT("\0");
+const static TCHAR szzHardwareIDs[] = TEXT("wintun") TEXT("\0");
const static TCHAR szInterfaceRegKeyPathTemplate[] =
TEXT("SYSTEM\\CurrentControlSet\\Control\\Network\\%") TEXT(PRIsLPOLESTR)
TEXT("\\%") TEXT(PRIsLPOLESTR) TEXT("\\Connection");
#define INTERFACE_REGKEY_PATH_MAX
(_countof(TEXT("SYSTEM\\CurrentControlSet\\Control\\Network\\")) - 1 + 38 +
_countof(TEXT("\\")) - 1 + 38 + _countof(TEXT("\\Connection")))
and then run:
> tapctl.exe create --name openvpn-wintun
--
-Lev
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel