Skip to content

Headscale

Headscale is a self-hosted, open source implementation of the Tailscale control server.

Connect a client to the server

Create a user

In case you don't have a user yet, you can create one with the following command:

headscale users create <user>

Get an authkey for the user

headscale --user <user> preauthkeys create --reusable --expiration 1h

Authenticate tailscale client

tailscale up --login-server <headscale url> --authkey <authkey>

Check status

tailscale status