Headscale implements an open-source, self-hosted control plane compatible with Tailscale clients, built on WireGuard overlay networking.
Overview
Headscale replaces the hosted Tailscale control server for operators who want to run coordination on their own infrastructure. Tailscale-style networks use WireGuard under the hood with NAT traversal so machines join a private overlay. The control server exchanges WireGuard public keys, assigns client addresses, enforces boundaries between users, enables machine sharing, and publishes node routes.
The project targets self-hosters, hobbyists, and small organizations that need a single tailnet rather than enterprise-scale control-plane features. It is not affiliated with Tailscale Inc., though maintainers coordinate direction with community needs in mind.
Feature scope and supported client operating systems are documented for stable and development releases; users should match docs and configuration examples to the release tag they deploy. Development builds ship as container images and binaries for testers who track main-branch changes.
Operators run Headscale directly on servers; upstream maintainers discourage relying on reverse proxies or containers for production deployments, while NixOS users can enable a packaged module. Clients continue to use standard Tailscale agents everywhere the documentation lists support.
Key features
- Self-hosted Tailscale control plane
- WireGuard-based overlay networking
- Single-tailnet focus
- Key exchange and IP assignment
- User isolation and machine sharing
- Route advertisement support
- NixOS module option
Use cases
- Private lab VPN overlay
- Small team tailnet without SaaS control
- Open-source org device mesh
- Self-managed WireGuard coordination
- Hobbyist Tailscale-compatible networking
Does the same job as
Headscale doesn't name these products itself, but its own description shows it does the same job.