基于WireGuard的VPN。免费支持最多20个节点。 https://tailscale.com/

Tom DNetto e2d652ec4d ipn,cmd/tailscale: implement resigning nodes on tka key removal пре 3 година
.bencher babd163aac bencher: add config to suppress failures on benchmark regressions. пре 4 година
.github b0eba129e6 .github/workflows: add a pass/fail verdict job to the test workflow пре 3 година
atomicfile 71029cea2d all: update copyright and license headers пре 3 година
chirp 71029cea2d all: update copyright and license headers пре 3 година
client e2d652ec4d ipn,cmd/tailscale: implement resigning nodes on tka key removal пре 3 година
cmd e2d652ec4d ipn,cmd/tailscale: implement resigning nodes on tka key removal пре 3 година
control 9cb332f0e2 sockstats: instrument networking code paths пре 3 година
derp 9cb332f0e2 sockstats: instrument networking code paths пре 3 година
disco b1248442c3 all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork пре 3 година
docs 71029cea2d all: update copyright and license headers пре 3 година
doctor 71029cea2d all: update copyright and license headers пре 3 година
envknob 8b2ae47c31 version: unexport all vars, turn Short/Long into funcs пре 3 година
health 2755f3843c health, net/tlsdial: add healthcheck for self-signed cert пре 3 година
hostinfo 49c206fe1e tailcfg,hostinfo: add App field to identify tsnet uses пре 3 година
internal 71029cea2d all: update copyright and license headers пре 3 година
ipn e2d652ec4d ipn,cmd/tailscale: implement resigning nodes on tka key removal пре 3 година
jsondb 71029cea2d all: update copyright and license headers пре 3 година
kube e1530cdfcc cmd/containerboot,kube: consolidate the two kube clients пре 3 година
licenses 06302e30ae licenses: update win/apple licenses (#7423) пре 3 година
log 71029cea2d all: update copyright and license headers пре 3 година
logpolicy 0d19f5d421 all: replace logtail.{Public,Private}ID with logid.{Public,Private}ID (#7404) пре 3 година
logtail 283a84724f types/logid: simplify implementation (#7415) пре 3 година
metrics a7eab788e4 metrics: add SetInt64 to ease using LabelMap for gauge metrics пре 3 година
net 3f8e8b04fd cmd/tailscale, cmd/tailscaled: move portmapper debugging into tailscale CLI пре 3 година
packages 71029cea2d all: update copyright and license headers пре 3 година
paths 71029cea2d all: update copyright and license headers пре 3 година
portlist 71029cea2d all: update copyright and license headers пре 3 година
prober 100d8e909e cmd/derpprobe: migrate to the prober framework пре 3 година
release 311352d195 release/dist/cli: add --verbose to print subcommand output пре 3 година
safesocket 4441609d8f safesocket: remove the now unused WindowsLocalPort пре 3 година
scripts 6dabb34c7f scripts/installer.sh: add GalliumOS and Sangoma Linux пре 3 година
smallzstd 71029cea2d all: update copyright and license headers пре 3 година
ssh 0582829e00 ssh/tailssh: try launching commands with /usr/bin/login on macOS пре 3 година
syncs 9ab992e7a1 syncs: re-enable TestWatchMultipleValues пре 3 година
tailcfg 49c206fe1e tailcfg,hostinfo: add App field to identify tsnet uses пре 3 година
tempfork da8def8e13 all: remove old +build tags пре 3 година
tka ff168a806e tka: implement compaction logic пре 3 година
tool 64181e17c8 tool/gocross: support local toolchain for development пре 3 година
tsconst 71029cea2d all: update copyright and license headers пре 3 година
tsnet d41f6a8752 tsnet: do not error on NeedsMachineAuth for Up пре 3 година
tstest 3f8e8b04fd cmd/tailscale, cmd/tailscaled: move portmapper debugging into tailscale CLI пре 3 година
tstime 71029cea2d all: update copyright and license headers пре 3 година
tsweb 8b2ae47c31 version: unexport all vars, turn Short/Long into funcs пре 3 година
types 283a84724f types/logid: simplify implementation (#7415) пре 3 година
util e220fa65dd util/ringbuffer: move generic ringbuffer from corp repo пре 3 година
version 7b73c9628d version/distro,wgengine/router: raise WSL eth0 MTU when too low пре 3 година
wf 71029cea2d all: update copyright and license headers пре 3 година
wgengine 3f8e8b04fd cmd/tailscale, cmd/tailscaled: move portmapper debugging into tailscale CLI пре 3 година
words e484e1c0fc words: just words, nothing but words (#7384) пре 3 година
.gitattributes 1813c2a162 .: add .gitattributes entry to use Go hunk-header driver пре 4 година
.gitignore fc4b25d9fd release: open-source release build logic for unix packages пре 3 година
ALPINE.txt 88133c361e Docker: add ALPINE.txt to manage alpine versions пре 3 година
AUTHORS a8d8b8719a Move Linux client & common packages into a public repo. пре 6 година
CODE_OF_CONDUCT.md 452b81d56b Add a code of conduct. пре 6 година
Dockerfile f9667e4946 Dockerfile: fix docker build пре 3 година
Dockerfile.base 71029cea2d all: update copyright and license headers пре 3 година
LICENSE 947c14793a all: update tools that manage copyright headers пре 3 година
Makefile 8b9ee7a558 Makefile: add help text to Makefile пре 3 година
PATENTS a8d8b8719a Move Linux client & common packages into a public repo. пре 6 година
README.md b1248442c3 all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork пре 3 година
SECURITY.md e59605595e Add a SECURITY.md for vulnerability reports. пре 6 година
VERSION.txt 9af7e8a0ff VERSION.txt: this is 1.37 пре 3 година
api.md ef6f66bb9a api.md: refresh of API docs пре 3 година
build_dist.sh 149de5e6d6 build_dist.sh: use cmd/mkversion to get version data пре 3 година
build_docker.sh f9667e4946 Dockerfile: fix docker build пре 3 година
flake.lock 30e0156430 nix: update nixpkgs flake, override go_1_20 for tailscale_go (#7139) пре 3 година
flake.nix 5eb8a2a86a go.mod.sri: update SRI hash for go.mod changes пре 3 година
go.mod 1410682fb6 cmd/sniproxy: add start of a tsnet-based SNI proxy пре 3 година
go.mod.sri 5eb8a2a86a go.mod.sri: update SRI hash for go.mod changes пре 3 година
go.sum 1410682fb6 cmd/sniproxy: add start of a tsnet-based SNI proxy пре 3 година
go.toolchain.branch 623176ebc9 go.toolchain.branch: update to Go 1.20 пре 3 година
go.toolchain.rev 9cb332f0e2 sockstats: instrument networking code paths пре 3 година
pull-toolchain.sh 0e4f2bdd0c pull-toolchain.sh: don't run update-flake.sh пре 3 година
shell.nix 5eb8a2a86a go.mod.sri: update SRI hash for go.mod changes пре 3 година
staticcheck.conf ece138ffc3 staticcheck.conf: remove unnecessary warning пре 4 година
update-flake.sh f145c2b65b .github/workflows: add workflow to update go.mod Nix SRI hash пре 3 година
version-embed.go da75e49223 version: return correct Meta.MajorMinorPatch in non-dev builds пре 3 година
version_test.go 71029cea2d all: update copyright and license headers пре 3 година

README.md

Tailscale

https://tailscale.com

Private WireGuard® networks made easy

Overview

This repository contains the majority of Tailscale's open source code. Notably, it includes the tailscaled daemon and the tailscale CLI tool. The tailscaled daemon runs on Linux, Windows, macOS, and to varying degrees on FreeBSD and OpenBSD. The Tailscale iOS and Android apps use this repo's code, but this repo doesn't contain the mobile GUI code.

Other Tailscale repos of note:

For background on which parts of Tailscale are open source and why, see https://tailscale.com/opensource/.

Using

We serve packages for a variety of distros and platforms at https://pkgs.tailscale.com.

Other clients

The macOS, iOS, and Windows clients use the code in this repository but additionally include small GUI wrappers. The GUI wrappers on non-open source platforms are themselves not open source.

Building

We always require the latest Go release, currently Go 1.20. (While we build releases with our Go fork, its use is not required.)

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

If you're packaging Tailscale for distribution, use build_dist.sh instead, to burn commit IDs and version info into the binaries:

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

If your distro has conventions that preclude the use of build_dist.sh, please do the equivalent of what it does in your distro's way, so that bug reports contain useful version information.

Bugs

Please file any issues about this code or the hosted service on the issue tracker.

Contributing

PRs welcome! But please file bugs. Commit messages should reference bugs.

We require Developer Certificate of Origin Signed-off-by lines in commits.

See git log for our commit message style. It's basically the same as Go's style.

About Us

Tailscale is primarily developed by the people at https://github.com/orgs/tailscale/people. For other contributors, see:

Legal

WireGuard is a registered trademark of Jason A. Donenfeld.