headscale

headscale

官方

Docker 应用程序 from gxs' Repository

概述

Headscale aims to implement a self-hosted, open source alternative to the Tailscale control server. Headscale's goal is to provide self-hosters and hobbyists with an open-source server they can use for their projects and labs. It implements a narrow scope, a single Tailnet, suitable for a personal use, or a small open-source organisation. Installation: Download config-0.xx.x.yaml and rename it to config.yaml (check for the latest version) Download it from: https://github.com/bpivk/headscale and copy the file to /mnt/user/appdata/headscale/config Edit: server_url = Your vpn address listen_addr (if changed from default) base_domain = Your dns address Use console to create users: headscale users create Navigate to server_url/windows (for more OS versions read the link at the bottom) Enter the url into a cmd/shell of the system that will use tailscale (tailscale needs to be installed) Copy: headscale nodes register --user --key mkey: (replace ) If you're using the headscale plugin then install tailscale client and issue the following command: tailscale up --login-server YOUR_HEADSCALE_URL For more information check here: https://headscale.net/setup/install/container/#register-a-machine-normal-login Note: -debug version is used because it includes a shell

运行时参数

网络用户界面
http://[IP]:[PORT:8085]/windows
网络
bridge
外壳
sh
特权
false
额外参数
--restart unless-stopped

模板配置

DataPathrw
目标
/var/lib/headscale
默认值
/mnt/user/appdata/headscale/data
价值
/mnt/user/appdata/headscale/data
ConfigPathrw
目标
/etc/headscale
价值
/mnt/user/appdata/headscale/config
Connecting PortPorttcp
目标
8085
默认值
8085
价值
8085
MetricsPorttcp

DON'T OPEN IN FIREWALL

目标
9090
默认值
9090
价值
9090

下载统计数据

2,637,009
下载总数
305,665
本月
208,651
平均每月

长期下载总量

加载图表...

详细信息

存储库
headscale/headscale:v0.26.1-debug
最后更新2026-04-18
初见2025-06-27

在Unraid 上运行 Headscale 。

Headscale 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。