Like everyone else, I’ve been looking for a good mesh VPN solution and I finally found Nebula. Apparently it was created by Slack and later open sourced. I don’t know people don’t talk about it more.

Pros:

  • really easy to self host
  • clear logs make it easier to troubleshoot then other options
  • free Android app (as it it doesn’t require subscription)

Cons:

  • setup is quite manual
  • doesn’t offer DNS (I just deployed PiHole instance)

(there’s Nebula Commander that should make the setup easier but I haven’t tried it).

You basically create one node accessible to all the other nodes. In my case I have to expose a single port to the internet. Then you manually create private keys and distribute them to servers. With a bit of configuration you setup the firewall, routing and relays. And you really only need a bit of configuration. I only had to connect about 5 devices so it was totally doable by hand (i.e. without commander).

Before that I tried:

  • headscale - didn’t work for some reason. apparently setting it behind reverse proxy is not officially supported and it requires port 443 so I would need to setup a dedicates server for it

  • Netbird - it was working fine on severs but I got tired of the battery drain issue on Android

  • Netmaker - too many functions are locked behind the subscription. Android app doesn’t work with free accounts and WG setup didn’t work for me

I didn’t try Tailscale because I wanted something I can self host (and headscale didn’t work for me)

So if you don’t have too many nodes and are looking for something easy to self host I totally recommend Nebula.

    • ExLisper@lemmy.curiana.netOP
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      14 hours ago

      As I said in my post, netbird has a broken Android client and the issue is being ignored by devs. It’s great otherwise. If you don’t need to connect your phone to the mesh it’s a good choice.

      • skyline2@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 hours ago

        I would have agreed about 3-4 months ago but that issue has since been fixed and I have had no further problems on GrapheneOS on a Pixel8

        • ExLisper@lemmy.curiana.netOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 hours ago

          Really? I still had this issue 2 weeks ago when I switched. The issue is open here. People were still posting there a week ago. No response from the devs.

          • skyline2@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            1
            ·
            39 minutes ago

            Yeah its at least fixed for me. I wonder whether the remaining issues have something to do with aggressive battery management on some devices, which is a major pain point across Android in general for apps that need to run unrestricted in the background. It is much better on Pixel since Android 17 IMO. Most apps I’ve seen will just tell you to allow unrestricted access… maybe that’s what’s needed here, even if its not a user friendly fix.

      • n0xew@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        11 hours ago

        Yes that’s unfortunate… I’ve dropped it and been using JetBird (FDroid) for some time now, it works perfectly for my usage but YMMV

        • ExLisper@lemmy.curiana.netOP
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          10 hours ago

          I have the same issue on official client and JetBird. The issue is with the underlying library. It works fine on wifi but on 4G is drains the battery.