Self-host headscale
v0.29.7Open-source Tailscale control server
- Stars
- 45 713
docker.io/headscale/headscaleWhat is headscale?
Headscale lets you run your own Tailscale-compatible VPN control plane — a self-hosted, open-source server that manages WireGuard key exchange, IP allocation, and device connectivity for a personal or small-organization tailnet. It provides MagicDNS for hostname resolution, split DNS, subnet routers, exit nodes, ACL-based access control, and an embedded DERP relay for NAT traversal. Nodes can join via pre-shared keys, web login, or OpenID Connect (Authelia, Authentik, Keycloak, Google, Microsoft Entra ID). The server runs on Linux and BSD, installs via DEB packages, standalone binaries, Docker/Podman, or NixOS, and defaults to SQLite (PostgreSQL is supported but discouraged). Licensed under BSD-3-Clause, maintained by Kristoffer Dalby and Juan Font.
headscale alternatives
TailGuardSelf-hosted Docker container that bridges WireGuard-only devices into a Tailscale network, advertising WG subnets to the tailnet with an optional monitoring web UI.CompareTailGuard with headscale
gravitlSelf-hosted, open-source WireGuard automation: mesh VPNs, remote access gateways and site-to-site networks managed from a web UI with ACLs and DNS.Comparegravitl with headscale
DockTailOpen-source, self-hosted Go agent that watches Docker labels and publishes containers as native Tailscale Services, with HTTPS, TCP, PROXY protocol and Funnel support.CompareDockTail with headscale
TunnetTunnet is a self-hosted, open-source mesh VPN replacing Tailscale and ngrok with one stack: mesh, tunnels, SSH, file transfer, and Kubernetes integration.CompareTunnet with headscale
Nostr VPNSelf-hosted, open-source mesh VPN using Nostr identities for enrollment and Bitcoin-paid exit nodes.CompareNostr VPN with headscale
gatekeeperSelf-hosted DHCP/DNS server for home networks with web dashboard, Full Cone NAT, and zero-config setup.Comparegatekeeper with headscale
TailOpsMCPSelf-hosted MCP gateway centralizing infrastructure management via AI assistants with Tailscale security and capability-based authorization.CompareTailOpsMCP with headscale
tsdproxyTSDProxy is an open-source, self-hosted reverse proxy that automatically exposes Docker containers on Tailscale with zero sidecars and automatic HTTPS.Comparetsdproxy with headscale
Should you self-host headscale?
headscale scores 82/100 on selfhost.directory (how scoring works) and ranks #1 of 31 in Networking. It has 45 713 GitHub stars, +1 173 in the last 30 days.
It shipped 8 stable releases in the past year. The latest, v0.29.7, came out on 30 October 2026. New versions land roughly every 2 weeks.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is BSD-3-Clause-licensed and written mostly in Go.
Its closest alternative on selfhost.directory is Pangolin (78/100, 23 754 stars). headscale scores higher overall. See headscale vs Pangolin side by side.
More in Networking
i6.sharkSelf-hosted IPv6 proxy generating random /48 subnet addresses per request to defeat IP rate limits. HMAC-SHA256 auth, runs as Go binary on Linux.
iodineOfficial git repo for iodine dns tunnel
kuboKubo is the original open-source Go implementation of IPFS: a self-hosted p2p daemon for content-addressed data, with a CLI, WebUI, HTTP gateway and RPC API.
Lighttpdlighttpd is a secure, fast, and flexible open-source web server optimized for high-performance environments, with low memory and CPU usage.
makiattoMakiatto is a self-hosted CDN deploying a Rust binary to Linux servers. Nodes auto-discover, form a WireGuard mesh, and route visitors via geographic DNS.
mbusdA self-hosted Modbus gateway bridging TCP networks to RTU serial devices, letting multiple clients share one RS-232/485 bus on tiny hardware.
MDD Sim GatewayMDD Sim Gateway is a self-hosted, open-source multi-SIM gateway for VoWiFi calling, SMS, and 4G data with per-country network egress, managed via a bilingual web console.
mesh-apiMESH-API is a self-hosted, open-source mesh router and AI bridge connecting Meshtastic and MeshCore LoRa networks to 12+ AI providers and 30+ extensions.
mesh-router-tunnelSelf-hosted WireGuard VPN routing domain requests to Docker containers across networks with automatic HTTPS via Caddy.
MirrorProxyMirrorProxy is a self-hosted, open-source mirror acceleration gateway for GitHub, Docker/OCI, language packages, and Linux/BSD repos with access control and quotas.
mmarSelf-hosted, zero-dependency HTTP tunnel in Go that exposes local servers via public URLs. Offers free mmar.dev subdomains and custom domain self-hosting.
MosquittoEclipse Mosquitto - An open source MQTT broker

0 comments