登录 注册
网站与 SaaS 工具网络与基础设施
45,602
Stars
2,640
Forks
213
Watchers
81
Open Issues
BSD-3-Clause
许可证
Go
语言
2020-06-21
创建时间
2026-11-12
最近更新

项目能做什么

Tailscale 协调服务器(Control Server)的开源自托管实现。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
![headscale logo](./docs/assets/logo/headscale3_header_stacked_left.png)

![ci](https://github.com/juanfont/headscale/actions/workflows/test.yml/badge.svg)

An open source, self-hosted implementation of the Tailscale control server.

Join our [Discord server](https://discord.gg/c84AZQhmpx) for a chat.

**Note:** Always select the same GitHub tag as the released version you use
to ensure you have the correct example configuration. The `main` branch might
contain unreleased changes. The documentation is available for stable and
development versions:

- [Documentation for the stable version](https://headscale.net/stable/)
- [Documentation for the development version](https://headscale.net/development/)

## What is Tailscale

Tailscale is [a modern VPN](https://tailscale.com/) built on top of
[Wireguard](https://www.wireguard.com/).
It [works like an overlay network](https://tailscale.com/blog/how-tailscale-works/)
between the computers of your networks - using
[NAT traversal](https://tailscale.com/blog/how-nat-traversal-works/).

Everything in Tailscale is Open Source, except the GUI clients for proprietary OS
(Windows and macOS/iOS), and the control server.

The control server works as an exchange point of Wireguard public keys for the
nodes in the Tailscale network. It assigns the IP addresses of the clients,
creates the boundaries between each user, enables sharing machines between users,
and exposes the advertised routes of your nodes.

A [Tailscale network (tailnet)](https://tailscale.com/docs/concepts/tailnet) is
private network which Tailscale assigns to a user in terms of private users or an
organisation.

## Design goal

Headscale aims to implement a self-hosted, open source alternative to the
[Tailscale](https://tailscale.com/) 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_ Tailscale
network (tailnet), suitable for a personal use, or a small open-source
organisation.

## Supporting Headscale

If you like `headscale` and find it useful, there is a sponsorship and donation
buttons available in the repo.

## Features

Please see ["Features" in the documentation](https://headscale.net/stable/about/features/).

## Client OS support

Please see ["Client and operating system support" in the documentation](https://headscale.net/stable/about/clients/).

## Running headscale

**Please note that we do not support nor encourage the use of reverse proxies
and container to run Headscale.**

Please have a look at the [`documentation`](https://headscale.net/stable/).

For NixOS users, a module is available in [`nix/`](./nix/).

## Builds from `main`

Development builds from the `main` branch are available as container images and
binaries. See the [development builds](https://headscale.net/stable/setup/install/main/)
documentation for details.

## Talks

- Fosdem 2026 (video): [Headscale & Tailscale: The complementary ope
阅读完整原文

项目深度分析 AI 生成

Headscale 商业化 Web 管理面板与 ACL 可视化工具

产品构想针对 Headscale 原生偏重命令行管理的痛点,开发开箱即用的现代 Web UI,提供节点状态监控、可视化 ACL 策略编辑、用户权限分组及操作审计日志,采用开源基础版+商业高级版(如多管理员、审计告警)模式。
核心功能节点拓扑展示、可视化 ACL 规则生成器、过期密钥提醒、多角色权限管理。
目标用户不愿长期使用 CLI 管理网络的 Homelab 玩家、需要团队协作管理内网的小微企业。
难度/周期中等 · 1-2个月 · 成本:极低(仅需基础开发与测试服务器成本)
收费模式一次性买断授权(License)或按节点/团队规模订阅。
竞争风险社区可能已存在免费开源的第三方 Web UI,需在易用性、稳定性和高级企业功能上做出差异化。
依据 AI推测

托管式 Headscale 控制面 + 优质 DERP 中继节点 SaaS

产品构想虽然 Headscale 主打自托管,但自建服务器、配置域名证书及维护 DERP 中继节点仍有较高门槛。提供“一键托管 Headscale 实例 + 全球/区域优化的私有 DERP 中继节点”服务,解决 NAT 穿透失败时的转发延迟问题。
核心功能自动化部署与备份、内置高可用 DERP 中继网络、流量统计与带宽限制。
目标用户希望拥有私有控制权但不想折腾服务器运维的开发者、跨地区远程办公小团队。
难度/周期中高(涉及网络架构、多地域服务器调度与安全隔离) · 2-3个月 · 成本:中等(需采购多地域 VPS 作为 DERP 中继节点及托管集群)
收费模式按实例或按中继流量/带宽包月订阅。
竞争风险README 明确指出官方不支持或鼓励使用反向代理和容器运行 Headscale,托管架构需妥善处理官方升级兼容性问题;且需与 Tailscale 官方免费套餐竞争。
依据 尚需验证的假设

面向小微企业的私有化组网部署与运维支持服务

产品构想利用项目的高知名度,为有内网穿透、远程办公或混合云组网需求但缺乏专业网络运维人员的中小企业,提供基于 Headscale 的私有化定制部署、安全加固、ACL 策略设计及年度运维支持服务。
核心功能私有化环境部署、高可用与灾备方案实施、定制化网络隔离策略、故障响应。
目标用户对数据合规有要求、不愿将内网元数据托管在第三方(如 Tailscale 官方)的中小企业。
难度/周期低(技术栈成熟,重在服务交付) · 立即可启动 · 成本:极低(纯人力时间成本)
收费模式按项目收取一次性部署费 + 年度运维服务费。
竞争风险客单价受限于中小企业预算,且服务模式较难规模化,高度依赖个人时间投入。
依据 数据支持的判断
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

相似项目数据正在完善中,暂不展示(避免误导)

项目优势与风险

技术成熟度创建于 2020-06-21,近 30 天仍在推送,发布过 100 个 Release
社区活跃Star 45,602 / Fork 2,640 / Issue 81(数据支持,可自行核实)
许可证BSD-3-Clause
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。