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 的注册商标。

相似文章

Tailcat:秒级安全隧道 (Tailscale)

Hacker News Top

Tailcat 是一个开源的命令行工具和Go库,它通过Tailscale的数据平面创建基于WireGuard加密的安全隧道,实现快速且安全的点对点连接,无需Tailscale账户。

TailMux

Product Hunt

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

提升 Tailscale 性能

Hacker News Top

Tailscale 详细介绍了其网络产品即将推出的性能改进,包括降低小型数据包的内存开销,以及计划在 2026 年末实现的吞吐量提升。