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

Andrew Dunham 83fa17d26c various: pass logger.Logf through to more places vor 3 Jahren
.bencher babd163aac bencher: add config to suppress failures on benchmark regressions. vor 4 Jahren
.github c09578d060 .github: update tibdex/github-app-token to release v1.8.0 (#7495) vor 3 Jahren
atomicfile 71029cea2d all: update copyright and license headers vor 3 Jahren
chirp 71029cea2d all: update copyright and license headers vor 3 Jahren
client ce99474317 all: implement preauth-key support with tailnet lock vor 3 Jahren
cmd 3ff44b2307 ipn: add Funnel port check from nodeAttr vor 3 Jahren
control 83fa17d26c various: pass logger.Logf through to more places vor 3 Jahren
derp 3862a1e1d5 derp/derphttp: cleanup WebSocket connection on close vor 3 Jahren
disco b1248442c3 all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork vor 3 Jahren
docs 71029cea2d all: update copyright and license headers vor 3 Jahren
doctor 71029cea2d all: update copyright and license headers vor 3 Jahren
envknob be107f92d3 wgengine/magicsock: track per-endpoint changes in ringbuffer vor 3 Jahren
health 2755f3843c health, net/tlsdial: add healthcheck for self-signed cert vor 3 Jahren
hostinfo 49c206fe1e tailcfg,hostinfo: add App field to identify tsnet uses vor 3 Jahren
internal 71029cea2d all: update copyright and license headers vor 3 Jahren
ipn 3ff44b2307 ipn: add Funnel port check from nodeAttr vor 3 Jahren
jsondb 71029cea2d all: update copyright and license headers vor 3 Jahren
kube e1530cdfcc cmd/containerboot,kube: consolidate the two kube clients vor 3 Jahren
licenses 920de86cee licenses: update android licenses vor 3 Jahren
log 71029cea2d all: update copyright and license headers vor 3 Jahren
logpolicy 0d19f5d421 all: replace logtail.{Public,Private}ID with logid.{Public,Private}ID (#7404) vor 3 Jahren
logtail a2be1aabfa logtail: remove unncessary response read vor 3 Jahren
metrics a7eab788e4 metrics: add SetInt64 to ease using LabelMap for gauge metrics vor 3 Jahren
net 83fa17d26c various: pass logger.Logf through to more places vor 3 Jahren
packages 71029cea2d all: update copyright and license headers vor 3 Jahren
paths 71029cea2d all: update copyright and license headers vor 3 Jahren
portlist 71029cea2d all: update copyright and license headers vor 3 Jahren
prober 100d8e909e cmd/derpprobe: migrate to the prober framework vor 3 Jahren
release 311352d195 release/dist/cli: add --verbose to print subcommand output vor 3 Jahren
safesocket 4441609d8f safesocket: remove the now unused WindowsLocalPort vor 3 Jahren
scripts 047b324933 scripts/installer: add PureOS and Amazon Linux Next vor 3 Jahren
smallzstd 71029cea2d all: update copyright and license headers vor 3 Jahren
ssh e69682678f ssh/tailssh: use context.WithCancelCause vor 3 Jahren
syncs dad78f31f3 syncs: add WaitGroup wrapper (#7481) vor 3 Jahren
tailcfg 3ff44b2307 ipn: add Funnel port check from nodeAttr vor 3 Jahren
tempfork da8def8e13 all: remove old +build tags vor 3 Jahren
tka 88c7d19d54 tka: compact TKA storage on startup vor 3 Jahren
tool 64181e17c8 tool/gocross: support local toolchain for development vor 3 Jahren
tsconst 71029cea2d all: update copyright and license headers vor 3 Jahren
tsnet 83fa17d26c various: pass logger.Logf through to more places vor 3 Jahren
tstest 1a30b2d73f all: use tstest.Replace more vor 3 Jahren
tstime 87b4bbb94f tstime/rate: add Value (#7491) vor 3 Jahren
tsweb 1a30b2d73f all: use tstest.Replace more vor 3 Jahren
types 9ff51ca17f wgengine/netstack: add support for custom UDP flow handlers vor 3 Jahren
util a75360ccd6 util: add truncate package (#7490) vor 3 Jahren
version 7b73c9628d version/distro,wgengine/router: raise WSL eth0 MTU when too low vor 3 Jahren
wf 71029cea2d all: update copyright and license headers vor 3 Jahren
wgengine b0cb39cda1 tsnet: only intercept TCP flows that have listeners vor 3 Jahren
words 49e2d3a7bd words: add word we forgot vor 3 Jahren
.gitattributes 1813c2a162 .: add .gitattributes entry to use Go hunk-header driver vor 4 Jahren
.gitignore fc4b25d9fd release: open-source release build logic for unix packages vor 3 Jahren
ALPINE.txt 88133c361e Docker: add ALPINE.txt to manage alpine versions vor 3 Jahren
AUTHORS a8d8b8719a Move Linux client & common packages into a public repo. vor 6 Jahren
CODE_OF_CONDUCT.md 452b81d56b Add a code of conduct. vor 6 Jahren
Dockerfile f9667e4946 Dockerfile: fix docker build vor 3 Jahren
Dockerfile.base 71029cea2d all: update copyright and license headers vor 3 Jahren
LICENSE 947c14793a all: update tools that manage copyright headers vor 3 Jahren
Makefile 8b9ee7a558 Makefile: add help text to Makefile vor 3 Jahren
PATENTS a8d8b8719a Move Linux client & common packages into a public repo. vor 6 Jahren
README.md b1248442c3 all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork vor 3 Jahren
SECURITY.md e59605595e Add a SECURITY.md for vulnerability reports. vor 6 Jahren
VERSION.txt 9af7e8a0ff VERSION.txt: this is 1.37 vor 3 Jahren
api.md ef6f66bb9a api.md: refresh of API docs vor 3 Jahren
build_dist.sh 149de5e6d6 build_dist.sh: use cmd/mkversion to get version data vor 3 Jahren
build_docker.sh f9667e4946 Dockerfile: fix docker build vor 3 Jahren
flake.lock 30e0156430 nix: update nixpkgs flake, override go_1_20 for tailscale_go (#7139) vor 3 Jahren
flake.nix 5b68dcc8c1 go.mod.sri: update for toolchain change. vor 3 Jahren
go.mod 1410682fb6 cmd/sniproxy: add start of a tsnet-based SNI proxy vor 3 Jahren
go.mod.sri 5b68dcc8c1 go.mod.sri: update for toolchain change. vor 3 Jahren
go.sum 1410682fb6 cmd/sniproxy: add start of a tsnet-based SNI proxy vor 3 Jahren
go.toolchain.branch 623176ebc9 go.toolchain.branch: update to Go 1.20 vor 3 Jahren
go.toolchain.rev f4f8ed98d9 sockstats: add validation for TCP socket stats vor 3 Jahren
pull-toolchain.sh 0e4f2bdd0c pull-toolchain.sh: don't run update-flake.sh vor 3 Jahren
shell.nix 5b68dcc8c1 go.mod.sri: update for toolchain change. vor 3 Jahren
staticcheck.conf ece138ffc3 staticcheck.conf: remove unnecessary warning vor 4 Jahren
update-flake.sh f145c2b65b .github/workflows: add workflow to update go.mod Nix SRI hash vor 3 Jahren
version-embed.go da75e49223 version: return correct Meta.MajorMinorPatch in non-dev builds vor 3 Jahren
version_test.go 71029cea2d all: update copyright and license headers vor 3 Jahren

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.