How do you create a virtual network interface on Windows?
-
09-06-2019 - |
Question
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?
Solution
You can do this with the Microsoft Loopback Adapter which is a driver for a virtual network card.
OTHER TIPS
@Tim
Depending on the licensing you might be able to use the TUN/TAP driver that is part of OpenVPN, see here for details.
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. :)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow