Aarnav Tale 684a95b5e8 fix: harden user linking and session pruning
Security:
- Add unique constraint on headscale_user_id to prevent hijacking
- linkHeadscaleUser now rejects already-claimed Headscale users
- Onboarding dropdown filters out claimed users
- onboarding-skip action redirects on rejected claims

Maintenance:
- Replace probabilistic session pruning with setInterval (15m)
- Move pruning out of request path into server startup

Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019cce57-c9e1-7732-9709-8288127573a9
2026-03-08 17:34:55 -04:00
2026-01-13 22:54:11 -05:00
2025-10-02 13:52:19 -04:00
2025-12-04 04:11:52 -05:00
2025-06-09 10:30:03 -04:00
2026-03-07 15:11:15 -05:00
2025-10-19 14:09:56 -04:00
2026-03-07 17:10:34 -05:00
2026-01-13 22:54:11 -05:00
2025-06-16 11:45:23 -04:00
2026-02-26 18:22:12 -05:00
2026-02-08 11:11:56 -05:00
2026-03-01 08:33:20 +00:00
2026-01-15 22:16:49 -05:00
2024-03-26 10:24:28 -04:00
2026-02-26 18:22:12 -05:00
2026-02-26 01:23:02 -05:00
2025-10-16 21:03:40 -04:00
2025-12-01 02:46:22 -05:00

Headplane

A feature-complete web UI for Headscale

Preview

Headscale is the de-facto self-hosted version of Tailscale, a popular Wireguard based VPN service. By default, it does not ship with a web UI, which is where Headplane comes in. Headplane is a feature-complete web UI for Headscale, allowing you to manage your nodes, networks, and ACLs with ease.

Headplane aims to replicate the functionality offered by the official Tailscale product and dashboard, being one of the most feature complete Headscale UIs available. These are some of the features that Headplane offers:

  • Machine management, including expiry, network routing, name, and owner management
  • Access Control List (ACL) and tagging configuration for ACL enforcement
  • Support for OpenID Connect (OIDC) as a login provider
  • The ability to edit DNS settings and automatically provision Headscale
  • Configurability for Headscale's settings

Deployment

Refer to the website for detailed installation instructions.

Versioning

Headplane uses semantic versioning for its releases (since v0.6.0). Pre-release builds are available under the next tag and get updated when a new release PR is opened and actively in testing.

Contributing

Headplane is an open-source project and contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue. Also refer to the contributor guidelines for more info.


ACLs Machine Management

Copyright (c) 2025 Aarnav Tale

S
Description
A feature-complete Web UI for Headscale
Readme MIT 14 MiB
Languages
TypeScript 90.9%
Go 3.5%
Nix 3.4%
CSS 1%
Shell 0.7%
Other 0.5%