What is this?
Headscale is an open source, self-hosted implementation of the Tailscale control server, letting you run your own private Tailscale-compatible network instead of paying for Tailscale's hosted service.
Is this a replacement for the Tailscale app, or just the server behind it?
It only replaces the control server, the backend that exchanges WireGuard public keys and assigns IPs; you still install the regular Tailscale client apps on your devices to connect.
How do I get it running?
Build it from source with Go (recommended via `nix develop` for a matching dev environment and Make targets), then configure and run the server following the official documentation.
What do I need installed to build and run it?
You need a recent Go toolchain and Buf (the Protobuf generator) to build headscale; Nix can set these up for you automatically.
Can I just run it behind a reverse proxy in a container like most self-hosted apps?
The maintainers explicitly do not support or encourage running Headscale behind a reverse proxy or in a container for production use.
Is this built for large companies or for home labs?
It's aimed at self-hosters and hobbyists, with a narrow scope limited to a single tailnet suitable for personal use or a small open-source organization, not multi-tenant enterprise deployments.
Is Headscale officially backed by Tailscale Inc.?
No. It is an independent open source project; although one of its maintainers works at Tailscale and contributes in that capacity, the project is not associated with the company.
What is a 'tailnet'?
A tailnet is the private overlay network Tailscale (and Headscale) assigns to a user or organization, connecting their devices over WireGuard using NAT traversal.
Can I try unreleased features before a stable release?
Yes, development builds from the main branch are published as container images and binaries, separate from the documentation for stable releases.
What's different between Tailscale's hosted service and Headscale?
Tailscale's GUI clients and hosted control server are proprietary on Windows/macOS/iOS, while Headscale provides a fully open source, self-hosted alternative to that control server component.
What are similar projects?
EasyTier, tailscale, netbird, Tailtab, nebula, pangolin, Xray-core, wireguard-go
Which topics is it in?
nat-traversal, tailscale, nix, wireguard, protocol, vpn, bsd, encryption, networking, go, security, server