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

Joe Tsai 03f7e4e577 util/hashx: move from sha256x (#5388) 3 years ago
.bencher babd163aac bencher: add config to suppress failures on benchmark regressions. 4 years ago
.github d4916a8be3 .github/workflows: cancel previous CI runs on PR update 3 years ago
atomicfile 23f37b05a3 atomicfile: update docs to clarify behavior of argument 3 years ago
chirp 0868329936 all: use any instead of interface{} 4 years ago
client e1309e1323 all: require Go 1.19 3 years ago
cmd 03f7e4e577 util/hashx: move from sha256x (#5388) 3 years ago
control dbcc34981a cmd/tailscale/cli: fix build break 3 years ago
derp a9f6cd41fd all: use syncs.AtomicValue 3 years ago
disco 8725b14056 all: migrate more code code to net/netip directly 3 years ago
docs df9f3edea3 docs/k8s: add prefix to (#5167) 3 years ago
envknob 8b81254992 ipn/ipnlocal: reject tailscale up --ssh if disabled on tailnet 3 years ago
health 43f9c25fd2 cmd/tailscale: surface authentication errors in status.Health (#4748) 3 years ago
hostinfo ec9d13bce5 hostinfo, net/netcheck: use CutPrefix 3 years ago
internal 7c671b0220 .github/workflows: add gofmt (goimports) check 3 years ago
ipn 32a1a3d1c0 util/deephash: avoid variadic argument for Update (#5372) 3 years ago
jsondb 96afd1db46 jsondb: small package to load/save JSON DBs. 3 years ago
kube 0868329936 all: use any instead of interface{} 4 years ago
log c41837842b wasm: drop pprof dependency 3 years ago
logpolicy 48e73e147a logtail,logpolicy: tweak minor cosmetic things 3 years ago
logtail f371a1afd9 cmd/tsconnect: make logtail uploading work 3 years ago
metrics 94fb42d4b2 all: use testingutil.MinAllocsPerRun 4 years ago
net 8f38afbf8e net/stun: convert to use net/netip.AddrPort 3 years ago
packages 0868329936 all: use any instead of interface{} 4 years ago
paths a9f6cd41fd all: use syncs.AtomicValue 3 years ago
portlist 4950fe60bd syncs, all: move to using Go's new atomic types instead of ours 3 years ago
prober 4950fe60bd syncs, all: move to using Go's new atomic types instead of ours 3 years ago
safesocket 116f55ff66 all: gofmt for Go 1.19 3 years ago
scripts 1c0286e98a scripts/installer.sh: add `-y` for unattended install 3 years ago
smallzstd 9cd4e65191 smallzstd: new package that constructs zstd small encoders/decoders. 5 years ago
ssh 4950fe60bd syncs, all: move to using Go's new atomic types instead of ours 3 years ago
syncs b75f81ec00 syncs: add generic AtomicValue 3 years ago
tailcfg ffc67806ef tailcfg: bump capver for clients to talk Noise over any HTTPS port [capver 39] 3 years ago
tempfork 116f55ff66 all: gofmt for Go 1.19 3 years ago
tka 06eac9bbff tka: Use strict decoding settings, implement Unserialize() 3 years ago
tool 7e4883b261 .github/workflows: add tsconnect static build to wasm GitHub action 3 years ago
tsconst eccc2ac6ee net/interfaces/windows: update Tailscale interface detection logic to 4 years ago
tsnet b1fff4499f tsnet: cleanup resources upon start failure (#5301) 3 years ago
tstest a9f6cd41fd all: use syncs.AtomicValue 3 years ago
tstime 0e62a7d1a2 tstime/mono: fix Before function comment 4 years ago
tsweb 116f55ff66 all: gofmt for Go 1.19 3 years ago
types 8e821d7aa8 types/opt: support an explicit "unset" value for Bool 3 years ago
util 03f7e4e577 util/hashx: move from sha256x (#5388) 3 years ago
version a9f6cd41fd all: use syncs.AtomicValue 3 years ago
wf a12aad6b47 all: convert more code to use net/netip directly 3 years ago
wgengine 32a1a3d1c0 util/deephash: avoid variadic argument for Update (#5372) 3 years ago
words c980bf01be words: The lists continue to drag-on. (#4780) 3 years ago
.gitattributes 1813c2a162 .: add .gitattributes entry to use Go hunk-header driver 4 years ago
.gitignore 0ada42684b Makefile: update make spk target to use the new go spk builder 4 years ago
ALPINE.txt 88133c361e Docker: add ALPINE.txt to manage alpine versions 3 years ago
AUTHORS a8d8b8719a Move Linux client & common packages into a public repo. 6 years ago
CODE_OF_CONDUCT.md 452b81d56b Add a code of conduct. 6 years ago
Dockerfile 1d33157ab9 docs/k8s: use job control in run.sh 3 years ago
Dockerfile.base cfa484e1a2 Dockerfile: bump alpine to 3.16 3 years ago
LICENSE bf6205d200 LICENSE: Reformat for Github 5 years ago
Makefile c3270af52b Makefile: add target for wasm and make it part of check 3 years ago
PATENTS a8d8b8719a Move Linux client & common packages into a public repo. 6 years ago
README.md e1309e1323 all: require Go 1.19 3 years ago
SECURITY.md e59605595e Add a SECURITY.md for vulnerability reports. 6 years ago
VERSION.txt 3c892d106c VERSION.txt: this is v1.29.0 3 years ago
api.md f7a36dfeb1 api.md: added missing quote to POST DNS Searchpaths request body example 3 years ago
build_dist.sh d5fb852718 build_dist.sh: add --box and --extra-small flag to produce smaller and boxed binaries 3 years ago
build_docker.sh cfa484e1a2 Dockerfile: bump alpine to 3.16 3 years ago
go.mod 9996d94b3c build(deps): bump github.com/u-root/u-root from 0.8.0 to 0.9.0 3 years ago
go.sum 9996d94b3c build(deps): bump github.com/u-root/u-root from 0.8.0 to 0.9.0 3 years ago
go.toolchain.branch e5176f572e go.toolchain.rev: switch to Go 1.19rc2+ 3 years ago
go.toolchain.rev e1309e1323 all: require Go 1.19 3 years ago
pull-toolchain.sh 408522ddad go.toolchain.rev: add update script 4 years ago
shell.nix 7a74466998 shell.nix: update Go toolchain to 1.19 3 years ago
staticcheck.conf ece138ffc3 staticcheck.conf: remove unnecessary warning 4 years ago
version-embed.go 88133c361e Docker: add ALPINE.txt to manage alpine versions 3 years ago

README.md

Tailscale

https://tailscale.com

Private WireGuard® networks made easy

Overview

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

The Android app is at https://github.com/tailscale/tailscale-android

The Synology package is at https://github.com/tailscale/tailscale-synology

Using

We serve packages for a variety of distros 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 that are not open source.

Building

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.

We require the latest Go release, currently Go 1.19.

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.

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.