Route all IP trafic from my mobile throgh ZeroTier/Tailscale and exist on server
Can I do what the title said? It could be useful when I’m on a sketchy WiFi.
I’m asking as I’m already using ZeroTier to access my home server and this could be another nice use.
Yes. It’s a default option for Tailscale. You just need to run the Tailscale client on the server with the exit node option, enable it in the web portal, and then tell your phone to use the exit node.
All you really have to do with Zerotier is set up your network routing appropriately, and the end server would do reverse NAT, presumably via IPTables in most situations. Zerotier is just a virtual cable, everything else is the same as if you plugged in an ethernet cable between the two endpoints and you can run network services there just the same. Oh, you do have to enable the ZeroTier client to route public IPs for this to work.