headscale生成key

928 次阅读

本文最后更新于 2026年5月11日。

Instructions

  • To generate your API key, run the command headscale apikeys create on your control server. Once you generate your first key, this UI will automatically renew the key near expiration.
  • The Headscale server is configured via the HS_SERVER environment variable in Docker. Current server: http://172.21.0.21:8080
  • You must configure an encryption key via the KEY environment variable in Docker. One can be generated with the command openssl rand -base64 32
  • Enter the API key generated by headscale, press "Save" then "Test". Saving before using the "Test" button is important.

240905生成key

# headscale apikeys create
An updated version of Headscale has been found (0.23.0-beta3 vs. your current 0.22.3). Check it out https://github.com/juanfont/headscale/releases
Yx0m63CX0g.0RhY0sGLeF3uCYuQcajfHdN6K6SjaysRI6p6eZP2aEA
#