I have two houses, both with an ISP provided gateway that uses the 192.168.1.1/24 subnet.
I have two linux boxes in both houses where ZeroTier is running and the two boxes can reach each other through ZeroTier.
Now, I want to two bridge the two subnet in order to let them communicate; it should be pretty easy using L3 bridging but the problem here is that both network uses the same address space and I cannot change that.
I was thinking about “software” 1-1 NAT on ZeroTier to map one 192.168.1.1/24 to 10.0.1.1/24 and the other one to 10.0.2.1/24 but I don’t know if ZeroTier allow such thing. I found the “redirect” command of the ZeroTier rules engine but I’m not sure it can be used dynamically.
Can you help me with this?