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.

    • Spite_By_Design_LLC@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      9 hours ago

      Wat

      Anywherelan is an IP-level mesh VPN built on libp2p. Reticulum is an alternative networking stack entirely. What’s the AI connection?

      Wait…are you making an Actual Indians (AI) joke because some of the dev team are Indian?

      • muusemuuse@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        39 minutes ago

        No. I haven’t heard of this thing and when I gave it a cursory look it felt like a vibe-coded thing copying reticulum.

        I see they are different now. It looks like a sort of automeshing WireGuard kind of thing.

  • lemmyvore@feddit.nl
    link
    fedilink
    English
    arrow-up
    10
    ·
    18 hours ago

    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.net domain for your public point. You can have HTTPS too, Tailscale nodes can generate publicly valid TLS certs for their node.tailnet.ts.net name, 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.

  • slazer2au@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    22 hours ago

    Ipv6 an option?
    With address space running out a lot of mobile providers have native v6.

    If you don’t want to pay for a vps, what about one of those oracle free tier Arm vms?

    • Spite_By_Design_LLC@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      22 hours ago

      Actually, I need to check again if my ISP allows for unsolicited inbound IPv6 traffic now. That might kill all birds with one stone.

      Doesn’t Oracle reclaim those free-tier instances if idle for too long? That’s what I’d heard thru the grape vine, anyhow.

      it’s not so much the cost of a VPS that bothers me as the continued reliance on a centralised cloud provider.

      • ccryx [he/him]@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        5
        ·
        21 hours ago

        I’ve not used anywherelan but I’m running headscale on a VPS and it’s kind of boring how well it works.

        My home router gets an IPv6 prefix but my ISP does IPv4 through DS-lite, so normally I’d have no inbound connectivity in IPv4 only networks. I’ve set up a VPS with static addresses (both versions) that runs the headscale control plane (I interpreted tailscale as the centralized cloud provider). My server and phone connect to headscale and I’ve configured the server as an exit node.

        That way I get secure internet and private net connectivity on unsecured public access points as well. Eventually I’m probably going to use an openwrt device as the exit node, but so far it’s working very well.

        The static IP addresses are not strictly necessary - you could have your control plane using dyndns as well I think.

        • Onomatopoeia@lemmy.cafe
          link
          fedilink
          English
          arrow-up
          5
          arrow-down
          1
          ·
          21 hours ago

          it’s kind of boring how well it works

          Lol, good tech is boring, that’s the sign it’s a good product.

          I used Hamachi since about 2003, it was boringly effective, just no Android client. Wireguard/TS are the same, they just work and there’s little for me to do beyond basic setup.

          I really like boring tech.

  • Onomatopoeia@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    21 hours ago

    I assume you’ve been having everyone install Tailscale to get access. Have you tried the Funnel feature in Tailscale? It funnels specified ports without needing TS on every device.

    The other option is to host on a VPS or use a reverse proxy on a VPS.