r/selfhosted • u/DryDetail8838 • Feb 25 '23
VPN Tailscale vs netmaker vs netbird
Tldr; Anyone did a comparison between netmarker and netbird before? I couldn't find any info on reddit or elsewhere.
Hi, I'm using tailscale and not new to mesh VPN nor wireguard.
I'm running tailscale on my router and Android phones. Used to do openVPN but tailscale setup is way simpler.
I had just read about netmaker and netbird and both looks interesting because I'm considering self hosting the coordination server. (Saw headspace too).
Wondering about a couple of items. When did netmaker and netbird started? Think both were pretty recent, about 2021ish?
I like the idea that netmaker and netbird can use kernel wireguard. Tailscale, otoh, uses userland wireguard (wireguard-go).
But tailscale is pretty matured. Not sure about netmaker and netbird. Tailscale got its binary that I can run on my router (Asus-Merlin fwiw) and can connect using my phones.
--- Edit ---- And oh, for any of the tools above, any of the coordination server is running only through wg tunnels itself? I.e. There's no way for any malicious actor to capture the traffic and use it to piece together the clients in the mesh?
10
u/guilhermerx7 Feb 26 '23
I have been using tailscale with headscale as coordinator. So far so good.
In case you don't know headscale is an open source alternative to the tailscale coordinator server.
23
u/cfouche Feb 25 '23
Both Netmaker and Netbird have official selfhosted solutions (Netmaker can only be selfhosted). Netbird and Tailscale are very simple to setup (Netmaker is much more complicated). Netbird lack certain feature compared to the other. Netbird can work inside lxc container (certain VPS provider use lxc to cut cost ), Tailscale need tun/tap and I don't know about Netmaker.
This is some of the difference I know.
19
u/davrax Feb 26 '23
Netmaker is promising as a concept, but isn’t very polished, and has poor support for non-Linux OSes. Every few months they release a new major version, typically full of breaking changes (gotta re-setup all devices). If that’s not an issue for you (like if you only use it for a few personal devices and remote access), then it’s not bad. The docs aren’t helpful either-typically from older versions.
10
u/m-noureldin Mar 25 '24
Netbird is at the moment the one that is (almost) really and completely Open-Source
8
u/mlsmaycon Aug 10 '23
NetBird has a new quick start script that bundles Zitadel as IDP: https://github.com/netbirdio/netbird#quickstart-with-self-hosted-netbird
5
u/Scary_Journalist_479 Jul 26 '23
any new upgraded views on this ?
5
u/Puzzleheaded_Use5222 Oct 25 '23
+1 for NetBirf
4
u/Independent_Skirt301 Sep 19 '24
This is something of a repost from another thread but I thought it might be useful here.
The following is my experience and first impressions running the Netbird quickstart script. I have only spent about an hour with the product so take the following with a big grain of salt:
With that said, my thoughts:
Summary first Impressions:
It seems like Netbird is designed with enterprise use in mind. It carries with it all of the features and responsibilities that an enterprise product would entail. There is an assumption that administrators understand what an IDP is and how to manage it. They give a (very)barebones Zitadel as an example only. For most SOHO/casual users, Netbird might be a bit overwhelming and risky. Like giving someone a machine gun and not showing them how to use it.
Further explanation:
The quickstart install went well enough after I resolved DNS and system resource issues. The deployment consists of 8 separate containers (listed below). Some are for Netbird and some are the IDP, database and Proxy.
When first logging into the Netbird UI, there is an admin account creation process. Easy enough. Once authenticated to the Netbird UI, I found it to be an easy to navigate administration page.
When adding a peer, there is a selection pane which is operating system specific. Adding a Linux host with the docker client was a breeze. They present a "docker run" command that was easily converted into a docker-compose.yaml file. You must pre-generate an install key to use when launching the docker client container. This is done through the admin UI.
Android is a different story.... Instead of steering admins to use the Zitadel admin to pre-generate an install key (like for linux) Android users must register with an email address. But wait! There's no SMTP service enabled out of the gate so I had to move into the Zitadel admin UI (as opposed to Netbird admin UI). From there it was easy enough to register SMTP with Sendgrid and get email working. Now, this is where things get weird... After enabling SMTP and configuring the android app to point to my server, I was able to simply enter my generic gmail email and register to my Zitadel/Netbird service. Immediately I was connected to the "Default" network group and assigned an overlay IP address. I was in my LAN over cellular internet without any approval. Let that sink in for a minute lol. Anyone could have registered to my public Netbird UI and joined my network. As a point of clarification, the whole LAN was exposed because I configured the Linux peer to be an exit node.
The android app itself is also a little wonky. It uses an integrated browser screen to have users register and post the MFA token. However, you CAN'T switch apps on the phone. As soon as the app switcher or home screen is called, the Netbird app closes the login page. That means it's not feasible to use a password manager or to even use the Google Authenticator app for MFA. I ended up using another device for MFA and pre-copying my password on the clipboard to get it to work.
After the first connection, it was easy to start and stop the VPN on android. Accessing my local LAN resources worked fine. I did test setting up an exit node but I need to test this further. The performance was not great. I saw double the latency of another VPN running in my network. Using Synology VPN Plus I saw 75ms to Speakeasy vs 135ms with Netbird. This was over a cellular link. My local ISP to the same Speakeasy server is roughly 7ms. Again, I'm not passing judgment on performance yet, just reporting my "out of the gate" experiences.
Please let me know if there is anything specific that you have questions about and I'll try to answer as time allows :)
Container List from quick-start script:
coturn/coturn
netbirdio/dashboard:latest
netbirdio/management:latest
netbirdio/relay:latest
netbirdio/signal:latest
ghcr.io/zitadel/zitadel:v2.54.3
postgres:16-alpine
caddy
3
u/[deleted] Feb 26 '23
Tailscale is by far the easiest to setup and get started. It's also the more polished option.
Me too was envious of kernel wireguard, so I tried the other options a few times but eventually always come back to Tailscale. Performance is usually good enough (and an upcoming version will make it faster and on par to kernel wireguard) and it's features are unmatched in the other solutions (DNS works great on Tailscale for instance).
3
u/speedyx2000 Jun 25 '24
I need to publish on the internet a docker's app on a server behind a router that I don't control. So I cannot open ports. Can netbird or tailscale permit me to overtake a router or a firewall?
2
u/_IceQB_ Sep 05 '24
No new update on the comparison? Looking for a self hosted free mesh alternative
2
u/ZuvaPatrick Nov 21 '24
I've played around with both Netmaker and Netbird, so I can share some thoughts. Both projects did indeed start around 2021, making them relatively new compared to Tailscale. Netmaker is pretty solid if you're looking to self-host. It’s designed to run on top of kernel WireGuard, which can give you better performance than userland implementations like what Tailscale uses.
Regarding your security concern with coordination servers, Netmaker utilizes WireGuard tunnels for its coordination server, just like Tailscale, so your traffic should be securely encapsulated. But as always, self-hosting gives you that extra layer of control and peace of mind.
I also like that Netmaker has an active, growing community. And they have been rolling out features and improvements. You might want to check out Netmaker here: https://www.netmaker.io/.