Integrating with Physical Networks
ZeroTier creates networks interfaces, IP addresses, and routes on your computers. Because of this, you can use all the standard networking tools and techniques with your ZeroTier networks.
There are 2 main ways to connect your ZeroTier networks to your Physical networks: Routing and Bridging. Yes, they are technically different things. Bridging has its downsides, including that it's tricky to set up.
Routing or Bridging?
Most of the time, choose routing.
Do you have devices that can't install zerotier, use broadcast or multicast, and need to talk to ZeroTier nodes? Then consider bridging.
Routing
There are many ways to set up routing.
We have only a Masquerade Tutorial so far, but the steps are the same for any of these set ups; just skip the IPTables Masquerade step.
Here are some of the common examples:
Router can run ZeroTier
This is the best case. Since the router/firewall is the default gateway, no additional routing config needs to be done. It already knows the routes to the ZeroTier networks it's joined to.
Some examples:
- Mikrotik
- Teltonika Networks
- OpenWRT
- OPNsense
If you aren't already using existing routers, consider one of these!
Router can't run ZeroTier
You'll have to run ZeroTier on a device or virtual machine in your LAN. You should use Linux if at all possible. This will act as the "router" between ZeroTier and Physical networks.