How can I running zerotier without NAT mode?

Physical Network:
Subnet 1:
Subnet 2:
They are in different locations.

Zerotier Network:

Openwrt router A is, and have zerotier ip
Openwrt router B is, and have zerotier ip

I have configured zerotier routes:
And enable Allow Ethernet Bridging both.

For now I can ping and access subnet device for each other.

Then I have a Nginx server on
When a client access from subnet, Nginx log client as client ip.

How can Nginx get origin subnet client ip address?

You don’t need bridging or NAT in this setup.
If you’re having trouble configuring OpenWrt firewall, I suggest to ask for help in OpenWrt forum.

1 Like

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