Hi all! We have been exploring Zerotier for a use case that involves the following:
-
Site 1: Computer 1 running linux os is connected via LAN to multiple network/ip cameras all of which have video streams accessible via rtsp through certain static ips and ports. Computer 1 also is connected to the internet via 4G.
-
Site 2: Computer 2 doing the same. Including network and IP configuration on the LAN.
Site 1 and Site 2 are not connected to each other in anyway.
Now in a “server” machine, we want to access the rtsp streams of ALL the site cameras. We were hoping zerotier has ways to solve this.
The setup:
Install zerotier in computer 1, 2 and server. All setup using the guide here including port forwarding and iptables configuration. All on the same network id in zerotier.
What works 1: Accessing rtsp streams of camera using the “local LAN ip” for computer 1 works. Great!
What does not work 1: Accessing rtsp streams of camera using the “managed ip” assigned by zerotier doesn’t work. Able to ping this ip. But no data. This is sad because now there’s no way to uniquely identify the cameras on the “other side” of LAN using this assigned ip. On their respective lans both are 192.168.11.65. Question 1 is, is this possible?
What does not work 2: We compromised and now “changed” the ip address of ip cam connected to computer 2. Lets say 192.168.11.66. So now they are “unique”. Despite adding the new computer to the managed routes, we are unable to ping this resource.
So tldr; for two lans with similar network devices with same ips, how to access these resources via zerotier on a “server” machine? We also brainstormed a multiple network id approach but that doesn’t seem like the way to go. We saw the bridging guide but unsure if thats the way to go.
Granted I’m not a networking wiz. But a software engineer. Any ideas?