Reputation: 355534
On linux, it's possible to create a tun interface using a tun driver which provides a "network interface psuedo-device" that can be treated as a regular network interface. Is there a way to do this programmatically on windows? Is there a way to do this without writing my own driver?
Upvotes: 28
Views: 112186
Reputation: 3083
not sure if that can be done programatically, but for manually setup: you can use a "Microsoft KM-TEST Loopback Adapter" on windows 11 (works on older windows versions, too, i guess)
source: https://consumer.huawei.com/en/support/content/en-us00693656/
Upvotes: 1
Reputation: 193706
You can do this on XP with the Microsoft Loopback Adapter which is a driver for a virtual network card.
On newer Windows version: Installing the Microsoft Loopback Adapter in Windows 8 and Windows Server 2012
Upvotes: 17
Reputation: 87
In the Singularity project, Microsoft research communicates with the singularity VM through a "loopback" adapter. Maybe that'd help?
Running it is easy so it may be something fun to do anyway. :)
http://research.microsoft.com/os/Singularity/
Upvotes: 0
Reputation: 14499
@Tim
Depending on the licensing you might be able to use the TUN/TAP driver that is part of OpenVPN, see here for details.
Upvotes: 4