[Resolved] Cygwin setup network adapter
Posted: Tue Feb 15, 2011 2:22 pm
Hi,
I'm trying to make a windows version of openvpn working with port-share.
So I've successfully compiled it from sourcesunder cygwin : OpenVPN 2.2-beta5 i686-pc-cygwin [SSL] [LZO2] [eurephia] built on Feb 8 2011.
I'm now trying to adapt my actual working ''real'' windows configuration for the cygwin configuration. But i don't understand how I can link my TAP-Win32 (v9) adapter, named ''vpn'' in windows network configuration panel under cygwin. I've tried a lot of thinks but all the test results are ''Cannot open TUN/TAP dev XXXX: No such file or directory (errno=2)''
Here are some of the test I've done (all tested with dev-type tun or tap)
So, could you help me to find how to setup network adapter for openvpn 2.2b5 under cygwin.
Otherwise, do you know an alternative solution to share 1 port for https (apache) and openvpn without ssh tunnelling or http(s) proxying (like a sslh patch for 3 outpout).
Regards,
I'm trying to make a windows version of openvpn working with port-share.
So I've successfully compiled it from sourcesunder cygwin : OpenVPN 2.2-beta5 i686-pc-cygwin [SSL] [LZO2] [eurephia] built on Feb 8 2011.
I'm now trying to adapt my actual working ''real'' windows configuration for the cygwin configuration. But i don't understand how I can link my TAP-Win32 (v9) adapter, named ''vpn'' in windows network configuration panel under cygwin. I've tried a lot of thinks but all the test results are ''Cannot open TUN/TAP dev XXXX: No such file or directory (errno=2)''
Here are some of the test I've done (all tested with dev-type tun or tap)
Code: Select all
***************
dev-node 'vpn'
***************
dev-node '\\Device\\NPF_{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}' (find from regedit HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}\)
***************
$> mkdir /dev/net
$> mknod /dev/net/tun c 10 200
dev-node '/dev/net/tun'
***************
dev tun0
***************
dev tap0
***************
Otherwise, do you know an alternative solution to share 1 port for https (apache) and openvpn without ssh tunnelling or http(s) proxying (like a sslh patch for 3 outpout).
Regards,