ZeroTier routing

Hi Everyone,

Quick question, is it possible to have zero tier forward traffic that is not apart of the CIDR to another interface?

For example, if I attach Zerotier network interface to my container, it is only allowed to connect to endpoints in my network.

I was hoping to get best of both worlds, where it will check the ZT network and see if the endpoint exists, if not, use my default network interface and go off to the internet?
Thoughts?
Thanks!

you’re not very clear. zerotier can route if your zerotier host can route.

example
zt network 192.168.10.0/24 host is .5
lan 192.168.1.0/24 host is .5
other-network connected to host 192.168.2.0/24 host is .1

you can route in zerotier 192.168.2.0/24 via 192.168.10.5

Note, the ‘other’ network will see packets coming from an off-net src so will send replies to it’s own default gateway unless told otherwise. so if your host is just another device on the ‘other network’ then it can send packets, but it probably wont receive unless you manually add routes.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.