On Mon, 26 Sep 2005, Juergen Hennerich wrote:

> Hi, 
> 
> I'm currently building a Windows installer for a debian/coLinux based
> embedded toolchain.
> 
> For internet access I'm using the slirp daemon which is a zero
> configuration solution and is working great. But for local access I have
> to use a tap device.
> 
> My problem is, while I can install the driver without a problem, I have
> no idea how to configure the network interface. I need to find an unused
> private subnet and set the IP address of the tap device. Since Windows
> enumerates the devices in a way, I haven't seen through yet, I can't do
> this with netsh.
> 
> Is there an easy way to install the tuntap driver and set up the
> interface address with openvpn?
> 
> Or is there another way to reliably get a local connection configured?
> (XP and Win2k).
> 
> Is it also possible to automatically configure bridging?

See the tun.c code in OpenVPN, look for the #ifdef WIN32 code  -- it will 
show you how OpenVPN sets up the TUN/TAP interface network settings using 
DeviceIoControl calls to the driver.

James


Reply via email to