https://github.com/anywherelan/awl
I’m not a purity snob, but it bothers me that, due to CGNAT, the easiest option to date for accessing our self-hosted family chat (XMPP) server has been Tailscale.
I’ve been looking for an alternative (other than paying for a VPS). I thought about reverse SSH tunnelling (yes, very ghetto), but that still requires a publicly reachable endpoint.
So, has anyone used Anywherelan and can speak to it? Is it reliable for this use case, particularly with Android’s always-on VPN?
The BitTorrent-like peer discovery and community relay architecture sounds nifty and seems to sidestep the main problem with self-hosting Headscale behind CGNAT.


If you’re dealing with CGNAT you’ll need external jump points, there’s no working around it. The only question is if you own the external hops or not.
FWIW Tailscale is doing a fair job of maintaining demonstrable privacy on the user plane while keeping the control plane proprietary.
IPv6 can be a solution if your home ISP has decent support and if you can take advantage of IPv6 when on the go. In my corner of Europe I can’t, for example, IPv6 support from mobile carriers is sketchy to non-existent, so it doesn’t matter if my home has it.
Tailscale Funnel is a free option, if you don’t mind slow speeds, and if you’re ok with a
.ts.netdomain for your public point. You can have HTTPS too, Tailscale nodes can generate publicly valid TLS certs for theirnode.tailnet.ts.netname, renew it automatically, keep it private on the tailnode and only terminate TLS on the node. This would eliminate the need for Tailscale to run on all the client devices, you’d just need a node for it on the server.Cloudflared is another free option but you have to be careful how you set up the tunnel and disable all caching and make sure Cloudflare doesn’t terminate TLS for you and snoop on the content. (I say “snoop” but it’s a bit disingenuous, since their tunnel was intended as a CDN hydration mechanism so it’s normal for it to inspect content for caching and WAF. The fact self-hosters choose to use it for NAT punching is neither here nor there.)
Other than that the only option is a VPS or some other form of jump-host. They can get pretty cheap FWIW, especially if you pay per year. I would prefer a VPS where I can set up my own thing (set up WG or SSH, maybe add HAProxy with PROXY protocol to relay the public IPs to the home proxy etc.) rather than a TCP jump tunnel set up by someone else.
Workaround 4: Let a script on the server send you the ipv4 via ntfy.sh, together with port forwarding, you also reach the server behind ipv4.
You cant portforward on cgnat.