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

Brad Fitzpatrick e9dae5441e tka: use ts_omit_tailnetlock in another spot, for ed25519consensus преди 5 месеца
.bencher babd163aac bencher: add config to suppress failures on benchmark regressions. преди 4 години
.github 6d45fcfc93 .github/workflows: reviewing depaware.txt is unnecessary (#16990) преди 6 месеца
appc ec5f04b274 appc: fix a deadlock in route advertisements (#15031) преди 1 година
atomicfile 6feb3c35cb ipn/store: automatically migrate between plaintext and encrypted state (#16318) преди 8 месеца
chirp 259bab9bff scripts/check_license_headers.sh: delete, rewrite as a Go test преди 8 месеца
client 892f8a9582 various: allow tailscaled shutdown via LocalAPI преди 5 месеца
clientupdate e7325213a7 clientupdate: fix MSI exit code handling, preserve MSI and updater logs on Windows преди 11 месеца
cmd e9dae5441e tka: use ts_omit_tailnetlock in another spot, for ed25519consensus преди 5 месеца
control f67ad67c6f control/controlclient: switch ID to be incrementing instead of random (#17230) преди 5 месеца
derp 34242df51b derp/derpserver: clean up extraction of derp.Server (#17264) преди 5 месеца
disco 09bfee2e06 disco: add missing message types to MessageSummary (#17081) преди 5 месеца
docs 0b994ef2fe docs/windows/policy: add ADMX policy definition for AllowTailscaledRestart преди 5 месеца
doctor 5be6ff9b62 all: remove non-applicable "linux" deps on Android преди 10 месеца
drive 2b9d055101 drive: fix StatCache mishandling of paths with spaces преди 6 месеца
envknob 35b11e7be5 envknob/featureknob: restore SSH and exit-node capability for Home Assistant (#16263) преди 8 месеца
feature 832e94607e doctor: add ts_omit_doctor support преди 5 месеца
gokrazy 5eafce7e25 gokrazy/natlab: update gokrazy, wire up natlab tests to GitHub CI преди 1 година
health 9ae8155bab cmol/pprof health (#17303) преди 5 месеца
hostinfo d6fd865d41 hostinfo, ipnlocal: add optional os-specific callback for querying the hostname (#15647) преди 10 месеца
internal b9cda4bca5 tsnet,internal/client/tailscale: resolve OAuth into authkeys in tsnet (#17191) преди 5 месеца
ipn 832e94607e doctor: add ts_omit_doctor support преди 5 месеца
jsondb 71029cea2d all: update copyright and license headers преди 3 години
k8s-operator 0b27871860 k8s-operator: add IPv6 support for DNS records (#16691) преди 5 месеца
kube eed3e5dc61 ipn/store/kubestore,kube: fix cert error in admin UI (#16717) преди 7 месеца
licenses 1791f87870 licenses: update license notices преди 5 месеца
log 5d61d1c7b0 log/sockstatlog: don't block for more than 5s on shutdown преди 1 година
logpolicy 2b0f59cd38 logpolicy: remove the deprecated and now-unused `NewWithConfigPath` преди 5 месеца
logtail 4fa9411e3f logtail: remove unneeded IP redaction code преди 10 месеца
maths 820bdb870a maths: add exponentially weighted moving average type преди 1 година
metrics 68b12a74ed metrics,syncs: add ShardedInt support to metrics.LabelMap преди 1 година
net c95fdb0f8a net/packet/checksum: copy the gvisor checksum, remove the dep преди 5 месеца
omit 1ea100e2e5 cmd/tailscaled, ipn/conffile: support ec2 user-data config file преди 1 година
packages eb6883bb5a go.mod: upgrade nfpm to v2 (#8786) преди 2 години
paths fbc6a9ec5a all: detect JetKVM and specialize a handful of things for it преди 7 месеца
portlist 5e305032a9 portlist: add Plan 9 support преди 11 месеца
posture d05e6dc09e util/syspolicy/policyclient: add policyclient.Client interface, start plumbing преди 6 месеца
prober 34242df51b derp/derpserver: clean up extraction of derp.Server (#17264) преди 5 месеца
proxymap 9f9470fc10 ipnlocal,proxymap,wgengine/netstack: add optional WhoIs/proxymap debug преди 1 година
release 192fa6f05d {cmd/dist,release/dist}: add support for intermediary QNAP signing certificates преди 6 месеца
safesocket 5be6ff9b62 all: remove non-applicable "linux" deps on Android преди 10 месеца
safeweb 3177e50b14 safeweb: Set Cross-Origin-Opener-Policy for browser requests (#15936) преди 10 месеца
scripts 61751a0c9a scripts/installer.sh: add Siemens Industrial OS (#17185) преди 5 месеца
sessionrecording bcaea4f245 k8s-operator,sessionrecording: fixing race condition between resize (#16454) преди 7 месеца
smallzstd 7c1d6e35a5 all: use Go 1.22 range-over-int преди 1 година
ssh 312582bdbf ssh/tailssh: mark TestSSHRecordingCancelsSessionsOnUploadFailure as flaky преди 5 месеца
syncs 7cbcc10eb1 syncs: add Semaphore.Len (#16981) преди 6 месеца
tailcfg ecfdd86fc9 net/ace, control/controlhttp: start adding ACE dialing support преди 5 месеца
tempfork 46505ca338 tempfork/acme: update to latest version (#15543) преди 11 месеца
tka e9dae5441e tka: use ts_omit_tailnetlock in another spot, for ed25519consensus преди 5 месеца
tool 4bb03609bc tool/gocross: ensure child process error codes are propagated on non-Unix преди 5 месеца
tsconsensus b48d2de6ab cmd/natc,tsconsensus: add cluster config admin преди 6 месеца
tsconst 3e4b0c1516 cmd/tailscale, ipn/ipnlocal: add ts_omit_webclient преди 5 месеца
tsd f715ee2be9 cmd/tailscaled: start implementing ts_omit_netstack преди 5 месеца
tsnet 832e94607e doctor: add ts_omit_doctor support преди 5 месеца
tstest afe909664b types/opt: de-weird the API a bit with new True and False consts преди 5 месеца
tstime aff8f1b358 tstime: add GoDuration which JSON serializes with time.Duration.String (#15726) преди 10 месеца
tsweb 259bab9bff scripts/check_license_headers.sh: delete, rewrite as a Go test преди 8 месеца
types afe909664b types/opt: de-weird the API a bit with new True and False consts преди 5 месеца
util 892f8a9582 various: allow tailscaled shutdown via LocalAPI преди 5 месеца
version 30da2e1c32 cmd/tailscale/cli: add "configure jetkvm" subcommand преди 7 месеца
wf d837e0252f wf/firewall: allow link-local multicast for permitted local routes when the killswitch is on on Windows преди 1 година
wgengine f715ee2be9 cmd/tailscaled: start implementing ts_omit_netstack преди 5 месеца
words 8a4b1eb6a3 words: add some more (#17177) преди 5 месеца
.gitattributes 1813c2a162 .: add .gitattributes entry to use Go hunk-header driver преди 4 години
.gitignore b75fe9eeca cmd/k8s-operator: Add NOTES.txt to Helm chart (#16364) преди 8 месеца
.golangci.yml d8e3bce0b4 .github: Bump golangci/golangci-lint-action from 6.5.0 to 7.0.0 (#15476) преди 10 месеца
ALPINE.txt bb38bf7414 docker: bump alpine v3.19 -> 3.22 (#17155) преди 5 месеца
AUTHORS a8d8b8719a Move Linux client & common packages into a public repo. преди 6 години
CODEOWNERS 0913ec023b CODEOWNERS: add the start of an owners file преди 2 години
CODE_OF_CONDUCT.md 921d53904c CODE_OF_CONDUCT.md: fix duplicate entry (#16814) преди 6 месеца
Dockerfile bb38bf7414 docker: bump alpine v3.19 -> 3.22 (#17155) преди 5 месеца
Dockerfile.base bb38bf7414 docker: bump alpine v3.19 -> 3.22 (#17155) преди 5 месеца
LICENSE 947c14793a all: update tools that manage copyright headers преди 3 години
Makefile 260fe38ad8 Makefile, cmd/tailscaled: add minimal tailscale+cli binary depaware преди 5 месеца
PATENTS a8d8b8719a Move Linux client & common packages into a public repo. преди 6 години
README.md f5a873aca4 commit-messages.md: make our git commit message style guide public преди 11 месеца
SECURITY.md e59605595e Add a SECURITY.md for vulnerability reports. преди 6 години
VERSION.txt 1be9c6b23e VERSION.txt: this is v1.89.0 (#17099) преди 5 месеца
api.md 124ff3b034 {api.md,publicapi}: remove old API docs (#13468) преди 1 година
assert_ts_toolchain_match.go 1005cbc1e4 tailscaleroot: panic if tailscale_go build tag but Go toolchain mismatch преди 1 година
build_dist.sh 73bbd7caca build_dist.sh: add -trimpath преди 5 месеца
build_docker.sh bb38bf7414 docker: bump alpine v3.19 -> 3.22 (#17155) преди 5 месеца
flake.lock e4031daa08 .github/Makefile/flake: update nix flake support (#16636) преди 6 месеца
flake.nix 5ad3bd9f47 flake.nix: fix go version (#17152) преди 5 месеца
go.mod 6f9f190f4d go.toolchain.rev: bump to Go 1.25.1 преди 5 месеца
go.mod.sri 1a98943204 go.mod: bump github.com/ulikunitz/xz for security warning преди 6 месеца
go.sum 1a98943204 go.mod: bump github.com/ulikunitz/xz for security warning преди 6 месеца
go.toolchain.branch c5429cd49c go.toolchain.branch: bump to go1.25 (#16954) преди 6 месеца
go.toolchain.rev 6f9f190f4d go.toolchain.rev: bump to Go 1.25.1 преди 5 месеца
gomod_test.go aae1a28a2b go.mod: add test that replace directives aren't added in oss преди 2 години
header.txt 1a08ea5990 cmd/k8s-operator: operator can create subnetrouter (#9505) преди 2 години
license_test.go 259bab9bff scripts/check_license_headers.sh: delete, rewrite as a Go test преди 8 месеца
pkgdoc_test.go 6bbf98bef4 all: skip looking for package comments in .git/ repository (#15384) преди 11 месеца
pull-toolchain.sh 0e4f2bdd0c pull-toolchain.sh: don't run update-flake.sh преди 3 години
shell.nix 1a98943204 go.mod: bump github.com/ulikunitz/xz for security warning преди 6 месеца
staticcheck.conf 2716250ee8 all: cleanup unused code, part 2 (#10670) преди 2 години
update-flake.sh 50a570a83f Code Improvements (#11311) преди 2 години
version-embed.go 36ea792f06 Fix various linting, vet & static check issues преди 1 година
version_tailscale_test.go 1005cbc1e4 tailscaleroot: panic if tailscale_go build tag but Go toolchain mismatch преди 1 година
version_test.go d7770d2b81 .github/workflows: test that ./go/tool version matches go mod version преди 8 месеца

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.23. (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 commit-messages.md (or skim git log) for our commit message 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.