Hey. I’m currently using Tailscale with a self hosted control server(headscale). The problem’s that when the control server goes down for several days(Internet outage, here, in Iran), the clients get lost. And I have to come up with a new control server.

So I’m looking for a solution similar to Tailscale+Headscale, but with decentralized control server and relay.

Note that raw wireguard is not a solution. As some clients are(or might be) behind NATs. And then they will either need hole punching or a relay.

    • BakedCatboy@lemmy.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      12 days ago

      Yggdrasil is a fun one - I used to have it installed on all my boxes and would use it to ssh into everything. It saved my bacon a few times when internet connectivity for one device went out but because it meshed locally with other devices on the lan that still had internet, traffic got rerouted automatically. LAN peering uses broadcast discovery using ipv6 link local addresses, so it works even if the router dies and you don’t have dhcp handing out addresses.

      I just set up a couple instances in the cloud and put a list of their connection details along with a few publicly run nodes as backups into the configs of each. As long as enough stays up for a path to exist you can reach it.

      • Corbin@programming.dev
        link
        fedilink
        English
        arrow-up
        4
        ·
        12 days ago

        What’s your threat model? No matter what, hole-punching will require some sort of relay. Yggdrasil’s likelier than Iroh to have available community servers if you need a hole punched in an adversarial context.

      • moonpiedumplings@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        11 days ago

        It’s not, but it doesn’t look like they need hardcore censorship resistance if they are able to host and use headscale. It looks like their main problem is internet outages.

        I have been in environmenrs where any usage of wireguard is automatically fingerprinted and blocked.

        • FarooqOP
          link
          fedilink
          arrow-up
          1
          ·
          10 days ago

          During the Internet outages in Iran, most of the nodes inside the country are still accessible through most ISPs. The advertised self healing of yggdrasil sounds promising.

          But just for anyone else’s information reading this, we also have censorship on servers inside the country. TLDR, the law has completely vanished in here. You just have to fight, or hide to not get censored or otherwise caught.

    • FarooqOP
      link
      fedilink
      arrow-up
      1
      ·
      10 days ago

      It’s a new global network built on Internet. right? I guess maybe we could use it during Internet outage, here in Iran, using the internal country network.