omniedgeio / omniedge

Bringing intranet on the internet with Zero-Config Mesh VPNs.
https://omniedge.io
GNU General Public License v3.0
859 stars 50 forks source link

Routable IP range for "intranet"? #8

Closed mrbluecoat closed 2 years ago

mrbluecoat commented 2 years ago

Your website often describes OmniEdge as an intranet but you use a public routable network 100.100.0.0/24

For example, https://github.com/omniedgeio/docs/blob/506f7fabb3e6d952a56c421af85964dfe2d5544e/Docs/cases/hybrid-cloud.md says

we strongly recommend you use the Private IPv4 Addresses: 10.0.0.0 – 10.255.255.255, 172.16.0.0 – 172.31.255.255 and 192.168.0.0 – 192.168.255.255. Here we use 100.100.100.0/24.

Why not use a Private IPv4 range like you recommend above. Is it because it needs to be routable for the supernode? If so, you may want to consider switching to 100.64.0.0/10, which is designed for that purpose in RFC6598. Update: I just realized 100.100.0.0/24 is within 100.64.0.0/10

yongqianme commented 2 years ago

Thanks for reminding. You can change the IP range from 100.100.0.0/24 to 10.100.0.0/24 if you want. The CGNAT IP we use is from a history purpose.

mrbluecoat commented 2 years ago

Great, thanks