πŸ“£ Important update β€” access is changing on 1 October 2026

Starting 1 October 2026 at noon (UK time), this mirror will require authentication to keep apt working.
A yearly subscription gives you uninterrupted access and directly supports keeping this project alive. Thank you! πŸ™

πŸ”‘ Get Your Yearly Subscription

πŸ’¬ Questions, issues or anything about this repo? Join our Discord community β€” the best place to get help and connect with other users.
β˜• Previously supported via Buy Me a Coffee? You are wonderful! Head over to our Discord and we will sort out a free lifetime subscription for you. πŸ’œ

πŸ•ΈοΈ Install Latest Headscale on Ubuntu

Self-hosted implementation of the Tailscale control server

Latest Version β€” Continuously Updated
← Back to home

What is Headscale?

Headscale is an open-source, self-hosted implementation of the Tailscale control server. It lets you run your own coordination server for a private WireGuard-based mesh network, so your devices can connect securely to each other without depending on Tailscale’s hosted control plane β€” while still using the standard Tailscale clients.

πŸš€ Why Latest Versions Matter: Headscale evolves alongside the Tailscale protocol, adding support for new client features, ACL improvements and stability fixes. Running the latest version keeps you compatible with current Tailscale clients.

⚑ Key Features of Headscale

πŸ” Self-hosted Control Plane

Run your own coordination server β€” no reliance on a third-party hosted service.

🌐 WireGuard Mesh

Fast, encrypted peer-to-peer connectivity between all your devices.

πŸ“± Standard Clients

Works with the official Tailscale clients on desktop, mobile and servers.

πŸ“œ ACL Policies

Fine-grained access control rules to segment and secure your network.

🎯 Why Headscale?

  • Full control: Own the coordination server and your network data
  • No vendor lock-in: Open source alternative to the hosted control plane
  • Uses official clients: Keep the polished Tailscale app experience
  • Lightweight: A single Go binary that is easy to deploy

πŸ†• Highlights

πŸ“¦ Installation from debian.griffo.io

Step 1: Add Repository

sudo install -d -m 0755 /etc/apt/keyrings curl -fsSL https://debian.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | sudo gpg --dearmor --yes -o /etc/apt/keyrings/debian.griffo.io.gpg echo "deb [signed-by=/etc/apt/keyrings/debian.griffo.io.gpg] https://debian.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | sudo tee /etc/apt/sources.list.d/debian.griffo.io.list > /dev/null sudo apt update
install -d -m 0755 /etc/apt/keyrings curl -fsSL https://debian.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | gpg --dearmor --yes -o /etc/apt/keyrings/debian.griffo.io.gpg echo "deb [signed-by=/etc/apt/keyrings/debian.griffo.io.gpg] https://debian.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | tee /etc/apt/sources.list.d/debian.griffo.io.list > /dev/null apt update

Step 2: Install headscale

# Install latest headscale sudo apt install headscale # Verify installation headscale version
# Install latest headscale apt install headscale # Verify installation headscale version

🎯 Basic Usage Examples

# Show version headscale version # Create a user headscale users create alice # Generate a pre-auth key for a user headscale preauthkeys create --user alice --reusable # List connected nodes headscale nodes list # Serve the control server headscale serve

πŸš€ Why Choose debian.griffo.io?

πŸ“Š Repository Comparison:
  • Official Ubuntu: Often months behind, missing latest features
  • debian.griffo.io: Latest version within hours of release
  • Manual Installation: Manual downloads and PATH setup required
  • Our Repository: Pre-built, ready-to-use packages

πŸ“¦ Package Build Repository

The Ubuntu packages are automatically built and maintained in this GitHub repository:

πŸ”— Related Packages

Also available from debian.griffo.io:

🎯 Perfect for: Self-hosters and organizations that want a private, secure mesh VPN using the Tailscale clients but with full control over the coordination server and their data.

πŸ’ Support This Project

If this repository saves you time and effort, please consider supporting it!

⭐ Star on GitHub 🐦 Share on Twitter