-
Hi! I am just asking if the controller can somehow passthrough the /24 of the subnet on which it is running on, for example: my controller has IP: 192.168.0.63 and I would like that all joined nodes can access on this network also 192.168.0.200 and 192.168.0.210? Or is it only standalone controller, and I have to add Mikrotik like router from the same network, and then input Route to 192.168.0.0/24? Thank you for your answers! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hi Now you can just add ip forward and make the neccessary routing in ztnet and all clients will have access to your local 192.168.0.x network as described here: |
Beta Was this translation helpful? Give feedback.
Seems correct to me.
I just tested the exact same thing myself, and it works. I can ping all nodes on my local network from my cell phone.
Are you sure you got the iptables command correct?
verify that the
ZT_IFACE
is pointing to the correct NIC for your zerotier network.https://ztnet.network/usage/override_default_route#step-2-configure-iptables-for-nat-and-forwarding--run-on-debian-client-