mwarning / zerotier-openwrt

A OpenWrt package for ZeroTier One - Pull requests are welcome!
695 stars 146 forks source link

Use openwrt with zerotier as a gateway #117

Closed ganganrobert closed 3 months ago

ganganrobert commented 10 months ago

I want to use my router with zerotier as a gateway for other devices, I did settings as it mentioned in this https://github.com/mwarning/zerotier-openwrt/wiki ,but I get Ip address from my mobile isp. I can access to the 192.168.1.1, but not the gateway throw my router. Is it possible to have the same ip in mobile phone as a router ip?

ogarcia commented 4 months ago

If I understand correctly what you want to do is that all your systems connect to the Internet through your router and using the ZeroTier network. This is possible to do, but for this you have to, in the clients that are not your router, set the option allowDefault to 1 to tell them that they must route all their traffic through the ZeroTier network.

See here and here for more information.