OpenSourceVerdict

Headscale vs NetBird

Headscale vs NetBird: Headscale lost just-saved users in power cuts

What we found

We install self-hosted apps, try to break them, and tell you if they're worth your time. Today: Headscale 0.29.7 and NetBird 0.83.1, two ways to run your own Tailscale-style private network at home: your laptop, your phone and a box at home in one network, wherever each of them is. You open no port on your home router for the devices; the server itself must be reachable from the internet on TCP port 443, and on UDP port 3478 for its own relay (always in NetBird's quickstart, in Headscale once switched on, as we did), as both projects' docs say.

Our Pick: NetBird, Use it, 8.7 out of 10 (Rubric 1.2). Headscale scored 8.8, but when we crashed the machine running it, as if the power went out, it lost every user it had just confirmed, in 5 crashes of 5, so its verdict stops at Use with care.

When the server went down for 30 minutes, a tunnel that's already connected kept working on both until we restarted a device, 10 minutes in, as long as the devices connected directly. A device that restarts, or a new one, waits for the server; with each server running its own relay, as we set them up (for Headscale, in place of Tailscale's free relays), homes that connected only through it lost the tunnel with it, in the one run we made on each.

  • Does it do the job? By script, Headscale installed in about 8 to 12 seconds and NetBird in about 14 to 18, with no fix. A household of 8 devices and a box: 10 minutes with no missed ping from a connected device, then up to 90 devices, every minute held; memory about 120 MiB (Headscale) and 140 MiB (NetBird) for the household, peaking at about 340 and 380 MiB on the way to 90 devices. Away from home, a second person with their own limits, and a printer shared from home all worked on both. Connected directly, about 4.2 Gbit/s through Headscale's Tailscale client and 1.1 through NetBird's, in one test VM.
  • Will it survive a bad day? Server stopped for 30 minutes, 5 times each: the direct tunnel carried every ping until a device restarted. Power cuts: NetBird kept every confirmed key; Headscale lost every user it had just confirmed, in 5 crashes of 5, while a wait of 10, 40 or 70 seconds after the last save lost nothing in 9 crashes of 9. Both upgraded from the release of a year earlier and restored their documented backups.
  • Is it safe and looked after? In 24 hours Headscale connected to GitHub's API 2,878 times, for its update check: most headscale commands check as they start, and the health check on its community-written container page ran one every 30 seconds (one line, disable_check_updates: true, stops it); NetBird sent anonymous usage statistics, documented but on by default. Both servers run as root inside their containers. Headscale: 9 releases in the year, one person made 1,357 of the 1,556 commits people made in the year. NetBird: releases on 109 different days, 366 of 772 new issues without a maintainer's reply; since May 2026 NetBird takes bug reports in GitHub Discussions, which we did not measure.

The Shorts

Chapters

  1. 0:00 Headscale vs NetBird
  2. 2:22 What Headscale and NetBird are
  3. 3:40 Headscale vs NetBird setup, RAM and speed
  4. 9:11 Headscale vs NetBird when the server goes down
  5. 10:29 Headscale vs NetBird power cut, upgrade and backup
  6. 12:49 Headscale vs NetBird security and privacy
  7. 16:02 Beyond the gates
  8. 16:20 Verdict: Headscale vs NetBird
  9. 17:06 Headscale or NetBird: which one to pick

The full narration

What the video says, word for word, by chapter.

Opening (host)

Watch from 0:00

We install self-hosted apps, try to break them, and tell you if they're worth your time.

First, what it's for: this isn't the VPN from the ads; it joins your own devices into one private network, wherever they are. On a train, your phone opens the photo library on your box at home, as if you were on your home Wi-Fi. At a friend's place, your laptop opens your printer's page at home. And someone in your family reaches the family box, but not the box with your taxes.

Today: two ways to run your own Tailscale-style private network at home, with Headscale and NetBird.

What it is

Watch from 0:39

A self-hosted VPN like these joins your laptop, your phone and a box at home into one private network, wherever each of them is. Away from home, your laptop opens the box's web page as if you were at home, and you don't have to open a port on your router for the box.

The devices talk to each other directly and encrypted, with WireGuard; a server tells them how to find each other, and who may reach whom. When a direct path isn't possible, the traffic goes through a relay instead.

With Tailscale, that server is Tailscale's own; Headscale and NetBird let you run it yourself. Three names, easy to mix up: Headscale works with Tailscale's apps, and NetBird has its own.

We tested both in two simulated homes, each behind its own router, inside an isolated test VM. Every device in them was a client in a container, standing in for a laptop or a phone. The servers sat outside both homes, on a network that stands for the internet.

Both projects' docs ask for that: the server must be reachable from the internet, on TCP port 443. Its own relay also needs UDP port 3478: NetBird's quickstart always runs one, Headscale only once you switch it on, as we did. Your devices need no open port for any of this. But if your server is at home, those two ports must be open on your router.

And for 24 hours, we recorded every connection each server made on its own.

The tools

Watch from 2:22

Headscale is "an open source, self-hosted implementation of the Tailscale control server". So your devices run Tailscale's own apps, pointed at your server instead of Tailscale's; Headscale itself has no app and no web interface to manage it, you run it with commands. Tailscale's apps for Windows, macOS and iOS aren't open source, Headscale's README says; the rest of Tailscale's apps are.

We tested Headscale 0.29.7, from the 30th of October 2026.

NetBird is its own project, with its own apps, a web dashboard, and a server you can host.

We tested NetBird 0.83.1, from the 13th of November 2026, installed with its quickstart script.

Both servers are open source: Headscale under BSD, NetBird's server and dashboard under the AGPL, and NetBird asks contributors to sign an agreement. NetBird's client is under BSD, its phone apps under the GPL.

NetBird also sells a cloud service and an enterprise edition; none of our tests needed either.

Each server ran alone, limited to two CPUs and 2 GiB of memory.

Does it do the job?

Watch from 3:40

Headscale's install is one Compose file and one config file; we set the server's address and switched on its own relay in place of Tailscale's free ones, as its docs describe.

Its container page warns that it's community documentation, "not verified by headscale developers". Its README goes further: its maintainers don't support running it behind a reverse proxy or in a container, as we did. The power-cut loss we found later comes from Headscale's code, not the container.

NetBird's quickstart script asks a few questions and writes everything itself, server, relay and dashboard.

By script, from the image download to a first device connected, Headscale took about eight to twelve seconds and NetBird about fourteen to eighteen, in every install we timed.

Neither install needed a fix to get there.

Then a household: four people, each with a laptop and a phone, plus the home box. Every device pinged the box every five seconds, and every minute one of them dropped off and came back, like a phone leaving the Wi-Fi.

For ten minutes, on both servers, every ping from a connected device got an answer within a second, and every device that came back was reachable again in under two seconds.

Headscale used about 120 MiB of memory doing it, NetBird about 140.

Then we kept adding households, up to ten of them: ninety devices. Both held every minute, all the way to ninety devices; along the way, Headscale peaked at about 340 MiB, NetBird at about 380.

In this load test, the connections between the two homes all went through each server's relay, which is harder on the server than devices that connect directly.

Our core test: a laptop in the second home opens a page served by the box in the first home.

On both, the page loaded by the box's tunnel address and by its name, and the laptop's other traffic still went out through its own home network.

Next, a second person, testUser, with a device of their own, and two boxes at home: a family box, and a box for the taxes.

On Headscale, the rules are a policy file; on NetBird, they're policies in the dashboard, after you delete its default rule that lets every device reach every other.

testUser's device reached the family box and nothing on the taxes box, while our laptop reached both.

When we changed the rule to let testUser in, it held within about a second on both, with no device restarted.

Some things can't run an app, like a printer.

Both let one device share your whole home network: Headscale calls it a subnet route, NetBird a network with a routing peer.

Our laptop in the other home printed, well, loaded the printer's page, through it on both, and got routes to that one home network only.

We also set up each server's phone app, on an Android emulator in our test VM.

For Headscale, that's Tailscale's own app: in its accounts menu, you choose an alternate server and type your server's address.

The app then opens a page from your server that shows one command to run there; once we ran it on the server, the phone was in.

NetBird's own app takes your server's address and, for this test, a setup key, a code that adds a device without a login.

The app itself warns that for people's devices, a login through single sign-on with a second factor is safer.

At first it showed no devices: in our setup, a device reaches only what its group may, so we added the phone to osvUser's group.

Then, on both, the phone opened the family box's page through the tunnel.

In short: both passed all three use cases, and held the household and ninety devices without a failed minute.

Between the two homes, connected directly, the client apps set the speed: Tailscale's, on Headscale, moved about 4.2 gigabits a second, NetBird's about 1.1.

Through the relay, both dropped below 300 megabits a second.

Both homes were in the same test VM, so these numbers show what each tunnel manages on its own, not what your internet line can carry.

Will it survive a bad day?

Watch from 9:11

Here's the question that matters: your server at home dies, and you're out. Do your tunnels still work?

We stopped each server at once, with no warning, left it off for thirty minutes, and watched two devices in different homes, five times on each.

Connected directly, the tunnel answered every ping of the first ten minutes, on both, in all ten runs.

But when one of those devices restarted during the outage, it couldn't reach the other again until the server was back, on both; on NetBird, one ping each way got through, in one run. A new device couldn't join either.

And when we made the homes connect only through the relay, in one run on each, the tunnel died with the server. In our setup, both relays ran inside the server itself.

By default, Headscale's devices relay through Tailscale's free servers instead; we didn't test an outage that way.

Once the server came back, everything reconnected by itself within about forty seconds, with no device touched, on both.

So keep the server on a machine that stays up; in our setup, the tunnel outlived it only while your devices stayed connected directly.

The power cut

Watch from 10:29

Now the test we run on every tool.

We crashed the machine running each server, as if the power went out, five times, right after it had confirmed new users or keys as saved.

NetBird kept every one, in five crashes out of five.

Headscale lost every user it had just confirmed, in all five crashes.

Headscale keeps its database in SQLite, with a setting that can lose the latest saves when the power goes, by SQLite's own docs.

In version 0.29.7, nothing in Headscale's config changes that setting.

Headscale's main branch, read on the 22nd of November 2026, adds a choice: write_ahead_log false switches SQLite to its safer mode; the default stays true. It's not in a release yet, and we didn't test it.

How recent is "latest"? When we waited ten, forty or seventy seconds after the last save, nothing was lost in nine crashes out of nine; with two seconds, all 50 new users were gone, in three crashes out of three.

Killing only its containers, the server software and not the machine, lost nothing on either, five times out of five.

Both upgraded from the release of a year earlier, with their data. Headscale went 0.27 to 0.28 to 0.29.7, one minor version at a time, as its docs ask; every user stayed, and our laptop reconnected by itself. NetBird went from 0.59.13, set up with that year's own script, to 0.83.1 by changing the image versions, as its upgrade page says. Every key stayed, and the laptop reconnected.

Both documented backups brought back every record, and our test device reconnected without being enrolled again.

And both keep their data in SQLite, a file you can read without the tool.

In short: NetBird passed all five checks; Headscale passed four, and the power cut caps its verdict at Use with care.

Is it safe and looked after?

Watch from 12:49

For 24 hours we watched every connection each server made on its own, with its default settings.

Headscale contacted two places: Tailscale's servers, once every three hours, for its relay map, and GitHub's API. GitHub's, 2,878 times in 24 hours, about every thirty seconds.

Docs say, for version 0.29.7: Headscale checks for updates on startup. Lab says: most headscale commands check as they start, and the health check on its community-written container page runs one every thirty seconds.

One line in its config, disable_check_updates true, stops it.

NetBird contacted its own servers: at start, to download its location databases, about 74 megabytes. Then every thirty minutes to check for a newer version, and once, twelve hours in, to send anonymous usage statistics.

Those statistics are on by default; NetBird documents them, says what they contain, and one setting turns them off.

Our test rules, which we call the rubric, ask for usage statistics to be off until you opt in, so that's a failed check for NetBird.

Nobody on the network got in without a login: every request we sent to either server's API without one was refused.

Both offer a stronger login: Headscale through an identity provider, NetBird with one-time codes for its own users.

Both servers run as root inside their containers, as their images ship them; so both fail that check.

Both take security reports privately; Headscale had no published advisory in the two years before its release, and NetBird had 10, each already fixed when it was published. Five days after the release we tested, six more came out; all six were already fixed in earlier releases.

Security: Headscale 8 out of 10, NetBird 6.

Headscale shipped 9 releases in the year; NetBird released on 109 different days.

One person made 1,357 of the 1,556 commits people made to Headscale in the year, so it carries our Solo chip.

NetBird's maintainers answered 406 of 772 new issues, a median of about five months after they were opened, and left 366 without a maintainer's reply.

Most of those replies came in one sweep in the autumn of 2026, and most of the sweep pointed people to GitHub Discussions, the project's forum on GitHub. Since May 2026, NetBird takes bug reports there; our test rules count only issues, so we didn't measure those. The other 170 first replies, outside that sweep, came after a median of about a day.

Health: Headscale 7 out of 10, NetBird 6.

Beyond the gates (not scored)

Watch from 16:02

On both, in our setup, without a direct path the server sits in the middle of every connection, and goes down with it. NetBird gives you a dashboard to click through; Headscale has no web interface of its own, only its command line and API.

Verdict

Watch from 16:20

First, the six scores alone, before any cap: both would be Use it, Headscale at 8.8 and NetBird at 8.7. The verdicts, with their caps, come next.

Headscale: Use with care, 8.8 out of 10, capped because it lost users it had just confirmed, in a power cut. Its Solo badge is not a cap: it says one person made most of its commits in the last year.

NetBird: Use it, 8.7 out of 10; some features, like high availability, are held for its paid licence.

Our Pick is NetBird: the only one of the two without a cap.

Use it if, skip it if

Watch from 17:06

Pick NetBird if you want a dashboard to click through, its own apps, and a server that kept every save through our power cuts.

Pick Headscale if you already like Tailscale's apps and the command line, and put its server on a machine with a battery behind it.

Skip both if you can't keep the server running on a machine that stays up: your devices need it whenever one restarts or a new one joins.

Outro

Watch from 17:33

Next: our Syncthing review, a OneDrive alternative.

We read the docs. Then we measured. Haste ye back.

Sources

Snapshots of 2026-11-19 to 22, pinned to the commit we tested.

How this was checked

124 claims, each checked against its cited source by a verifier that did not write them; every number recomputed from the raw lab data by a second verifier. How we test: the method.

Corrections

None so far. Found a mistake? Tell us.