# Headscale

> An open source, self-hosted implementation of the Tailscale control server

Source: https://talira.ai/catalog/headscale-3j12gn2s
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Infrastructure, Command-line tool
- Categories: [networking / vpn](https://talira.ai/categories/networking/vpn)
- Platforms: linux, docker[^9][^10]
- Licence: BSD-3-Clause[^8]
- Pricing: Free and open source[^5]
- Pricing notes: Free; sponsorship and donation buttons in the repo.
- Free tier: yes[^5]
- Self-hostable: yes[^5][^9]
- SSO: yes[^6]
- API: yes[^10]
- Creator: Juan Font; maintained by Kristoffer Dalby and Juan Font

Headscale is an open source, self-hosted implementation of the [Tailscale](https://talira.ai/catalog/tailscale-n9z481td.md) control server: it exchanges [WireGuard](https://talira.ai/catalog/wireguard-5kp2vca6.md) keys, assigns IP addresses and enforces access rules for the official Tailscale clients, so you can run a Tailscale-style mesh VPN without Tailscale's hosted coordination service. It implements a single tailnet for personal use or a small open-source organisation, with MagicDNS and split DNS, subnet routers and exit nodes, ACLs and grants, Tailscale SSH, Taildrop, an embedded DERP relay and OpenID Connect sign-in. It runs on Linux or BSD with [SQLite](https://talira.ai/catalog/sqlite-cys3nt23.md), is configured from the CLI and is BSD-3-Clause licensed; it is not associated with Tailscale Inc.

## Links

- Website: https://headscale.net/stable/
- GitHub: https://github.com/juanfont/headscale
- Docs: https://headscale.net/stable/

## Ways to install

### On your own server

- [YunoHost](https://talira.ai/catalog/yunohost-f9asga4s.md): <https://apps.yunohost.org/app/headscale>[^1]
- [Proxmox VE Helper-Scripts](https://talira.ai/catalog/proxmox-ve-helper-scripts-3h36wtyj.md): <https://community-scripts.org/scripts/headscale>[^2]

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/headscale-cli>[^3]
- [mise](https://talira.ai/catalog/mise-0axr08xw.md): <https://mise-versions.jdx.dev/tools/headscale>[^4]

## Problems it solves

- use the Tailscale apps on my devices but run the coordination server myself
- self-host a mesh VPN for my homelab so I don't depend on a third-party control plane
- connect my laptop, phone and home servers into one private network without opening ports
- reach my whole home LAN from anywhere through a subnet router
- route my traffic through a home server as an exit node when I'm on public Wi-Fi
- give every device a name I can reach with MagicDNS on my self-hosted tailnet
- restrict which of my devices can reach which with ACLs I control
- let people join my private network by signing in with our OpenID Connect provider
- run my own DERP relay so connections that can't go direct stay on my infrastructure
- avoid per-user pricing for a small open-source project's private network

## Features

- node registration by web authentication or pre-authenticated keys
- MagicDNS, global and restricted nameservers (split DNS), search domains and extra DNS records
- Taildrive and Taildrop file sharing
- subnet routers, exit nodes and route filtering
- dual stack IPv4 and IPv6
- ephemeral nodes
- embedded DERP server and peer relays
- ACL and grants policies, auto approvers, node attributes and Tailscale SSH
- node registration with OpenID Connect single sign-on
- DEB packages for Debian and Ubuntu, standalone binaries, container images and a NixOS module
- gRPC interface for remote control

## Limitations

- Supports only a single tailnet: it is scoped for personal use or a small open-source organisation[^5]
- Doesn't support Tailscale Funnel or Serve[^6]
- Has no built-in web interface: community web UIs are available[^7]

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known
- Has single sign-on: plan not known

## Trust

Overall: 0.79 out of 1.
Signals: maintenance 1.00, adoption 0.93, momentum 0.84, community 0.98, backing 0.20, extensibility 0.40.

- last commit 6 days ago
- 827 commits in the last 90 days
- latest release v0.29.7 24 days ago
- 45.9k GitHub stars
- 280 contributors
- accepts sponsorship (Ko Fi)
- created by Juan Font; maintained by Kristoffer Dalby and Juan Font

## Alternatives

- [Nebula](https://talira.ai/catalog/nebula-s0mnde9d.md): A scalable overlay networking tool with a focus on performance, simplicity and security
- [EasyTier](https://talira.ai/catalog/easytier-p9ztbg2n.md): A simple, secure, decentralized mesh VPN with WireGuard support
- [NetBird](https://talira.ai/catalog/netbird-t7qke563.md): Open source zero trust networking on a peer-to-peer WireGuard network
- [Tailscale](https://talira.ai/catalog/tailscale-n9z481td.md): Private WireGuard networks made easy
- [OpenVPN Access Server](https://talira.ai/catalog/openvpn-access-server-7jptz9hj.md): Fast and Easy Zero-Trust VPN Fully in Your Control
- [Pritunl](https://talira.ai/catalog/pritunl-w48hbdn2.md): Enterprise Distributed OpenVPN WireGuard and IPsec Server

## Sources

[^1]: https://app.yunohost.org/default/v3/apps.json (checked 21 Nov 2026)
[^2]: https://github.com/community-scripts/ProxmoxVE/blob/main/ct/headscale.sh (checked 21 Nov 2026)
[^3]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^4]: https://mise-versions.jdx.dev/tools.json (checked 21 Nov 2026)
[^5]: https://github.com/juanfont/headscale/blob/main/README.md (checked 19 Nov 2026)
[^6]: https://headscale.net/stable/about/features/ (checked 19 Nov 2026)
[^7]: https://headscale.net/stable/ref/integration/web-ui/ (checked 19 Nov 2026)
[^8]: https://github.com/juanfont/headscale/blob/main/LICENSE (checked 19 Nov 2026)
[^9]: https://headscale.net/stable/setup/install/official/ (checked 19 Nov 2026)
[^10]: https://headscale.net/stable/setup/requirements/ (checked 19 Nov 2026)
