I still have problems solving my DDNS access to home caused by CGNAT.
Temporarily I could use a different APN for my 5G ISP access, but not permanent allowed so the public IPv4 is gone again.
My next try is now using Zerotier.
I found some guides and successfully setup Zerotier. I do have an IP assigned, router is authorized all seems OK - the only thing is I don’t now how to access my router/LAN now.
As said I do not use zerotier but your router uses it and if your phone also has the zerotier client and if setup correctly your phone should have full access to your whole network including the servers
Still having trouble to connect to my home network using the app on my android phone.
Played a bit with the firewall settings. In Zerotier gui (Web) I can see the OWRT router and my phone on “green”. When starting the Zerotier VPN it is immediately connecting but I cannot reach the router nor any other local IP address.
I assume something wrong with my firewall settings, can somebody please check my firewall settings as shown above and also these I changed without success
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button (red circle; this works best in the 'Markdown' composer view in the blue oval):
Remember to redact passwords, VPN keys, MAC addresses and any public IP addresses you may have:
In the OpenWrt firewall, uncheck masquerading on zerotier. Make sure that forwarding is allowed from the zerotier zone to the zone containing the server.
In Zerotier Central, add a route to the server at home LAN via your home router's Zerotier tunnel IP. Also make sure the Zerotier routing table contains a LAN entry with the /24 of the Zerotier tunnel (containing both the phone and the router). These routes will be pushed into the phone's routing table when the phone connects. Then from the phone you would use the server's own LAN address. The server will see the phone's Zerotier address as the source.
It is not necessary to open any ports for a Zerotier tunnel. The Zerotier client makes outgoing connections which pass through default firewalls and multiple layers of NAT.
I can't find a way to install routes on the new Central. I have a legacy account and there is a route section on the network page in the legacy Central. According to this, there should be a Managed Routes section on your network-->settings tab, but I can't find it.
Edit: I found that Managed Routes are now a premium feature. The free plan does not include them.
So one solution would be to “not” to use the new central but the old version of Zerotier!
I assume the OWRT setup is not changed for these two Zerotier versions, that is just the Zerotier server what is different, I also assume the Android app remains the same as well, right?
Do you have maybe a link to a meaningful description for the old version installation process?
These are different versions of the Central account. The client on the router or the phone is the same for either. I don't think the legacy account system is available to new subscribers.
When you can't install a route on the endpoint phone the workaround would be to use NAT and reverse NAT (redirect / port forward) at the router to forward port(s) from the router's Zerotier address to the server on the LAN.
Yes, I use it to access my IMMICH docker from my mobile. Works perfectly. Dead simple to setup.
One major misconception with ZT is that ZT requires firewall rules. ZT does not require any FW rules or zone settings. ZT runs over HTTPS and therefore traverses the firewall regardless of rules and zones i.e. if you can browse the internet with chrome or firefox then ZT can do the same. I cannot SSH into my immich macine right now but it should go something like this…
Install zerotier interface in openwrt. Do not modify any FW rules as it is not necessary.
edit ZT configuration file on router and add in your ZT account id
approve openwrt device in your ZT control panel
ssh into openwrt router and run ip a or ifconfig and confirm your ZT interface now has a private ZT IP address (usually 10.147.10.x)
on android or iphone download ZT app and enter your ZT account id
approve android devce in your ZT control panel
on your android device click on ZT app and the network ID and you should see “status OK”
From this point on your android or iphone can now connect to your router over an encrypted HTTPS tunnel. You can test this by pinging from the openwrt router to your phone the ip address.
Hi, this is exactly what I did and stuck now cause I cannot access my router/local lan.
I am playing a bit with the firewall settings but this shouldn’t disturb cause irrelevant as you said.
What else could be wrong did you use zerotier central or the “old” version?