Tailscale's free tier is generous and the company's reliability is excellent. But for some users, depending on a third-party control plane is a non-starter โ research environments with data sovereignty rules, communities that want a fully open-source stack, or operators who've simply outgrown the free tier's 100-device limit. Headscale is an open-source reimplementation of Tailscale's coordination server. The standard Tailscale clients on your devices keep working unchanged; they just point at your server instead of login.tailscale.com.
Who this helps
You've grown past the free tier and don't want to pay
You have data sovereignty or compliance requirements
You're running a self-hosting community and want a fully open stack
You enjoy operating things yourself and accept the trade-offs
What you get
A Headscale server you control, replacing the Tailscale coordination server
The same Tailscale clients on every device, just pointed at your endpoint
No device limit (Headscale has no cap)
Coordination metadata that lives on your hardware
Headscale replaces only the control plane โ coordination, auth, ACL distribution. The Tailscale clients on your devices are unmodified; they just point at your server. WireGuard peer-to-peer underneath stays exactly the same.
Prerequisites
An always-on server with a publicly-resolvable hostname
Ability to terminate TLS at that hostname (Caddy / Let's Encrypt)
Comfort with self-hosting + reading Headscale's docs for breaking changes
M5 understanding (you'll write your own ACL policy in HuJSON)
Steps
Provision a server ~10 min
You need an always-on machine with a publicly resolvable hostname (Headscale needs to be reachable for clients to connect). Options:
Run as a systemd service. Reverse-proxy through Caddy for TLS.
Create a user and key ~5 min
headscale users create me
headscale --user me preauthkeys create --reusable --expiration 24h
Point a Tailscale client at Headscale ~3 min
sudo tailscale up \
--login-server=https://headscale.example.com \
--auth-key=<preauthkey from headscale>
The device registers against Headscale, joins the tailnet, gets an IP from the configured range, and starts working.
Write your ACLs ~30 min
Headscale supports a HuJSON ACL format very similar to Tailscale's โ same groups, tagOwners, acls structure. Save as /etc/headscale/acl.hujson, restart Headscale.
Optional: web admin UI ~30 min
Headscale's CLI is the canonical interface. Third-party web UIs exist: