So I managed to install ZeroTier with the Ubiquiti Edge Router X via:
admin@edgerouter# sudo -i
root@edgerouter:~# curl -s https://install.zerotier.com | sudo bash
And got to access the Edge OS (Edge Max) interface through the ZeroTier Global IP, so I can access my router anywhere in the world which is great.
However, how can I access the LAN devices connected to the router? For example, I have one device with Local IP in the router, 192.168.1.39
How can I access this using the ZeroTier network?
You have a choice between layer 2 bridging and layer 3 routing. We don't have much direct experience with Ubiquiti but you can find a lot of info around about doing either of those things. The ZeroTier interface should show up as another interface on the Ubiquiti that you should then be able to route or bridge to/from.
Here's the solution:
At this point the ER-X is unable to "interact" with ZeroTier so we need to patch.
At this point after reboot the ZeroTier interface will now show in the router dashboard.
Then
Where the IP
192.168.0.157
is the upstream IP i.e.eth0
and the10.147.17.15
is the ZT IPNote:
192.168.1.0/24
here is the switch0 address where the LAN devices are connected, eth1, eth2, eth3 and eth4 in my case since I have ER-X routerDone.
From here, you will be able to access the LAN devices connected to
switch0
over the internet.References: