ntop / n2n

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

Supernode how to create a IPV6 subnet on a IPV4 public IP #1033

Open Eloco opened 2 years ago

Eloco commented 2 years ago

i want to run many edge client, V4 subnet has a limit of 256 so i want to run on a V6 subnet, i wonder if it possible to achieve? (also each edge client can auto get its V6 ip?)

Logan007 commented 2 years ago

i want to run many edge client, V4 subnet has a limit of 256

You could use bigger subnets, e.g. by manually assigning IP addresses at the edge using -a 10.10.xx.yy/16 or have the supernode handle bigger networks in case you use auto-assigned IP addresses, please have a look here.

so i want to run on a V6 subnet, i wonder if it possible to achieve?

We have some hints for IPv6 in our doc/ folder as well.

also each edge client can auto get its V6 ip?

Currently, the auto-IP feature only supports IPv4.

hamishcoleman commented 2 years ago

Currently, the auto-IP feature only supports IPv4.

That being said, the standard IPv6 link-local addressing will still assign each n2n interface an address automatically, just like normal - so you can possibly use that