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.

you are viewing a single comment's thread
view the rest of the comments
[–] [S] 1 point 6 hours ago

Yes to NAT traversal and yes to custom DNS resolver (I just pointed everything to one of my nodes running PiHole). I see that it can actually respond to DNS queries but not sure how advanced that is. PiHole works fine for me.

You still need a way to reach to central node but I think it should work with dynamic DNS. It just requires single UDP port.

When I tried headscale the client simply got stuck on authentication without any error or anything. I saw in the docs that setting it up behind reverse proxy is not officially supported. I could keep fighting with it but Nebula was just so much easier to troubleshoot and set up (except one weird issue with masquarading...). Basically with Nebula I was struggling with the last 10% while with other solutions I was stuck a the first steps (like with Nebula phone had issue with accessing the internet reliably though the exit node while with other solutions it would not connect to the VPN at all).

  • source
  • parent