Luoboyun1 GB of trial traffic for new accounts, valid 24 hours, for Clash / Mihomo clientsAlipay, WeChat or cryptoSign upAdAdLuoboyun, 1 GB to tryFor new accounts, 24 hours, Alipay / WeChat / cryptoSign up
dl-tailscale.is
English
简体中文繁體中文EnglishРусскийفارسی

Self-hosting Compiled

Headscale: worth the trouble?

Headscale is an open-source control server used with the official clients. Speed, features and upkeep compared, and what it does not solve.

Home-grown vegetables are reassuring, if you have time to water them
Home-grown vegetables are reassuring, if you have time to water them Cryonic07, CC BY-SA 3.0

Headscale has 46,000 stars on GitHub, more than the 40,000 of the Tailscale client repository (1 December 2026). It replaces the coordination server: signing in, handing out keys, telling devices where the others are. The clients stay the official ones.

Many consider their own server because login is awkward or it is slow, and find that slowness did not change. Separate control and data: the control server signs in and hands out addresses; relays are another matter.

Two things to keep apart

You want to solveDoes Headscale help
The sign-in page will not openYes, sign-in is on your server
No dependence on foreign servicesYes
Two devices are slow togetherNo, that is about direct paths and relays
More than six usersYes, no limit
Less workNo, quite the opposite

Many set it up because things were slow and find them just as slow. For that see the relay article.

What you need

A server with a public IP, a domain, a certificate and regular updates. The latest version is 0.29.8 of 26 November 2026; it has not reached 1, so read the notes before upgrading.

  • Official free plan0
  • Headscale5: server, domain, certificate, backup, upgrades
  • Plus your own relay6
How many things you maintain yourself

What is missing

Features that rest on the official service, such as Funnel or sharing to other networks, are absent or incomplete. Phone apps need the server changed in a tucked-away setting.

Changing the server on Android (drawing)

How to choose

At home, up to six people, sign-in works: official. Sign-in blocked, or data must stay on your machines: Headscale. Only slow: neither, get a direct connection.

Who owns what

ThingOfficialHeadscale
LoginThird partyYour server
Device listConsoleCommand line or a community page
AccessWebA file
NamesAutomaticYes, with your domain
RelayOfficialOfficial by default, your own possible
ClientsOfficialOfficial
Updates, backupsNot yoursYours

Time

The first time perhaps a weekend: domain, certificate, program, configuration, users, devices. Afterwards half an hour a month.

In use
headscale users create home
headscale preauthkeys create --user 1 --reusable --expiration 24h
headscale nodes list

Pointing clients

Device
sudo tailscale up --login-server https://headscale.example.com

Android in the login page's menu, iOS in system settings under Tailscale.

A single point

If it is down, existing connections last for hours; changed networks and new devices do not. Fine at home; a company needs a spare. Back up the database, the configuration and the keys.

Your own relay

Headscale has one built in. Open TCP 443 and UDP 3478; the bandwidth is your server's.

Decide

Most importantTake
Little workOfficial
The login page failsHeadscale, or a Microsoft account
Data and lists in your handsHeadscale with a relay
A web page and upkeep, self-hostedNetBird
Only slowGet direct first

Try small

One computer and one phone for two weeks, noting outages, time and what is missing.

Can I go back?

Yes. Sign out on each device and in again with the official account; addresses change.

Will Tailscale block it?

The protocol and clients are open, and a Tailscale employee has taken part in maintaining it. Relations are friendly.

Beside the official one?

A device is in one at a time; switch accounts.

Several users?

Users and policy, not full organizations.

On a home NAS?

It needs public access and a certificate.

Read next

Neighbouring topics

Keywords on this page: Headscale vs Tailscale, Headscale setup, self-hosted Tailscale