ntop / n2n

Peer-to-peer VPN
GNU General Public License v3.0
6.07k stars 927 forks source link

Can I use a Wintun virtual network card in Edge? #1086

Closed AlexFugui closed 1 year ago

AlexFugui commented 1 year ago

Wintun dynamically adding network cards can better reduce management costs

Do we have a Windows version that supports Wintun?

hamishcoleman commented 1 year ago

Wintun provides a layer-3 virtual network card, however N2N is a layer-2 system.

While it is theoretically possible to write a layer-2 emulation to allow the two to interoperate, nobody has done this.

AlexFugui commented 1 year ago

Wintun provides a layer-3 virtual network card, however N2N is a layer-2 system.

While it is theoretically possible to write a layer-2 emulation to allow the two to interoperate, nobody has done this.

thk for you explanation sry I am an outsider not consider tha N2N is a layer2 system because I am writing an open-source windows program to reduce user operations on virtual network cards, the dynamic loading of Wintun is an ideal state

and another question in the client, I would like to know which users are in the community and their connection types how should I do?

Logan007 commented 1 year ago

The edge only is aware of nodes to which it currently connects and forgets them after some time without active data flow. This helps scalability. The supernode(s) however have a more complete view. The management port and the management port API provide available information.

The n2n-httpd and n2n-ctl scripts from the srcipts/ directory might be of further support there.