Skip to content

Headscale

Self-hosted Tailscale control server for homelabs and small teams running one tailnet

Permissive (OSI) · BSD-3-Clause
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

77

Health

Thriving

Overview

Stars

46,030

Last commit

yesterday

Nov 2026

Repository age

6 years

since Jun 2020

Latest version

v0.29.7

Oct 2026

Contributors

–

3 active in 90 days

Releases

9

last 12 months

Language

Go

Headscale is an open source implementation of the Tailscale control server, written in Go. Tailscale builds a WireGuard-based overlay network between your machines. The control server exchanges public keys between nodes, assigns IP addresses, separates users and exposes advertised routes. Headscale lets you run that piece yourself while keeping the standard Tailscale clients.

It is deliberately narrow in scope. It serves a single tailnet, aimed at personal use, labs or a small organization. It has no multi-tenant setup and no official graphical admin console. It is a server only, so your devices still run Tailscale clients.

It runs on Linux and macOS and is available as a Homebrew formula. A NixOS module is included. Development builds from the main branch are published as container images and binaries. The maintainers do not support or encourage running it behind reverse proxies or in containers. Headscale is BSD-3-Clause licensed. It is a self-hosted alternative to the Tailscale coordination service, and to Hamachi for people who want a private mesh.

Who it's for

Homelab owners connecting their own devices

You keep the Tailscale clients and run the coordination server on your own hardware.

Skip if: You want a hosted service with a polished admin console.

Small open source groups needing one private network

A single tailnet covers a small organization without extra tenant setup.

Skip if: You need multiple isolated tailnets or enterprise features.

NixOS users

A NixOS module is included in the repository.

Skip if: You require a container-first deployment, which the maintainers do not encourage.

The problem it solves

Tailscale's control server is proprietary, so your network coordination depends on a third party. Headscale gives you a server you host yourself that works with the Tailscale clients.

Strengths

  • Works with standard Tailscale clients
  • Handles key exchange, IP assignment and route advertising
  • Permissive BSD-3-Clause license
  • Nine releases in the past year with active commits
  • Includes a NixOS module and a Homebrew formula

Trade-offs

  • Limited to a single tailnet with no multi-tenant setup
  • No official graphical admin console
  • Fewer enterprise features than Tailscale
  • Reverse proxy and container use are not supported by maintainers

Headscale replaces

Self-host Headscale

Self-hostable
Yes

In the community

Frequently asked questions

Is Headscale free?

Yes. It is open source under the BSD-3-Clause license and you host it yourself.

Do I still need Tailscale clients?

Yes. Headscale replaces only the control server, so your devices run Tailscale clients.

Is it affiliated with Tailscale?

No. The project is not associated with Tailscale Inc., though one active maintainer is employed there.

Can it host multiple tailnets?

No. It is designed for a single tailnet.

Headscale compared

Other Tailscale alternatives

Compare all 7 Tailscale alternatives →

Similar tools in Tunnels, VPNs and networking

sish

Tunnels, VPNs and networking

Self-hosted SSH tunnel server for exposing local apps without a custom client

4.8k 340 8 days ago Thriving MIT

cilium

Tunnels, VPNs and networking

eBPF-based networking, security and observability for Kubernetes clusters

26k 4.3k today Thriving Apache-2.0

kilo

Tunnels, VPNs and networking

WireGuard-based network overlay linking Kubernetes nodes across clouds and data centers

2.3k 145 2 months ago Slowing Apache-2.0

portr

Tunnels, VPNs and networking

Self-hosted tunnel for small dev teams to expose local services, with request inspector

3.2k 115 22 days ago Active AGPL-3.0

Replaces Ngrok

I2P

Tunnels, VPNs and networking

Java router for an encrypted anonymous network layer, for people avoiding surveillance

2.8k 367 yesterday Active Apache-2.0

Pi-hole

Tunnels, VPNs and networking

Network-wide ad blocker running as a DNS sinkhole on your own Linux hardware

62k 3.4k 12 days ago Thriving EUPL-1.2