tailscale/tailscale

GitHub Trending (daily) 工具

摘要

Tailscale 的开源仓库,包含守护进程和 CLI 工具,用于轻松搭建私有 WireGuard 网络。

使用 WireGuard 和 2FA 最简单、最安全的方式。
查看原文
查看缓存全文

缓存时间: 2026/07/10 12:09

tailscale/tailscale

来源:https://github.com/tailscale/tailscale

Tailscale

https://tailscale.com

轻松搞定私有 WireGuard® 网络

概述

本仓库包含 Tailscale 大部分开源代码。其中特别包括 tailscaled 守护进程和 tailscale 命令行工具。tailscaled 守护进程可在 Linux、Windows、macOS(https://tailscale.com/kb/1065/macos-variants/)上运行,并在 FreeBSD 和 OpenBSD 上有不同程度支持。Tailscale 的 iOS 和 Android 应用使用了本仓库的代码,但移动端 GUI 代码不在此仓库中。

其他值得关注的 Tailscale 仓库(https://github.com/orgs/tailscale/repositories):

  • Android 应用位于 https://github.com/tailscale/tailscale-android
  • Synology 软件包位于 https://github.com/tailscale/tailscale-synology
  • QNAP 软件包位于 https://github.com/tailscale/tailscale-qpkg
  • Chocolatey 打包位于 https://github.com/tailscale/tailscale-chocolatey

关于 Tailscale 哪些部分是开源的以及为什么,请参见 https://tailscale.com/opensource/。

使用

我们为各种发行版和平台提供软件包,请访问 https://pkgs.tailscale.com/。

其他客户端

macOS、iOS 和 Windows 客户端(https://tailscale.com/download)使用了本仓库的代码,但额外包含小型 GUI 封装。非开源平台上的 GUI 封装本身并非开源。

构建

我们始终需要最新的 Go 版本,目前是 Go 1.26。(虽然我们使用自己的 Go 分支(https://github.com/tailscale/go/)构建发布版,但不必强制使用。)

go install tailscale.com/cmd/tailscale{,d}

如果你要为发行版打包 Tailscale,请改用 build_dist.sh,以将提交 ID 和版本信息嵌入二进制文件中:

./build_dist.sh tailscale.com/cmd/tailscale ./build_dist.sh tailscale.com/cmd/tailscaled

如果你的发行版有规范不允许使用 build_dist.sh,请以你发行版的方式执行类似操作,以便错误报告包含有用的版本信息。

错误报告

请将有关此代码或托管服务的任何问题提交到问题跟踪器(https://github.com/tailscale/tailscale/issues)。

贡献

欢迎提交拉取请求!但请先提交错误报告。提交信息应引用相关错误(https://docs.github.com/en/github/writing-on-github/autolinked-references-and-urls)。

我们要求提交中包含开发者原创性证明(https://en.wikipedia.org/wiki/Developer_Certificate_of_Origin)的 Signed-off-by 行。

关于提交信息风格,请参见 commit-messages.md(或快速浏览 git log)。

关于我们

Tailscale(https://tailscale.com/)主要由 https://github.com/orgs/tailscale/people 上的人员开发。其他贡献者请参见:

  • https://github.com/tailscale/tailscale/graphs/contributors
  • https://github.com/tailscale/tailscale-android/graphs/contributors

法律声明

WireGuard 是 Jason A. Donenfeld 的注册商标。

相似文章

TailMux

Product Hunt

TailMux 允许用户同时连接多个 Tailscale 网络,无需切换或使用虚拟机。

@brucexu_eth: 直呼 Tailscale 牛逼! 现在我所有的服务器和设备都连到了 Tailscale,并且开启了 Tailscale SSH。之后我基本没再折腾过 Private Key,也不用到处同步 SSH key,每次直接 ssh root@ta…

X AI KOLs Timeline

用户分享了使用 Tailscale 配置 access control 和 SSH policy 来隔离内网与公网服务器,防止被攻破后横向扩散。同时,通过 tag 将设备分组,限制 public server 反向连接 personal 设备,提升了安全性。

我在造一朵云

Hacker News Top

Tailscale 联合创始人 David Crawshaw 宣布为 exe.dev 完成 A 轮融资。这家新兴云提供商试图修复当今云平台的根本抽象错位:僵硬的虚拟机规格、受限的 PaaS 层等。