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

Brad Fitzpatrick a1dcf12b67 feature/drive: start factoring out Taildrive, add ts_omit_drive build tag 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 21f21bd2a2 util/syspolicy: finish adding ts_omit_syspolicy build tags, tests 6 месяцев назад
clientupdate e7325213a7 clientupdate: fix MSI exit code handling, preserve MSI and updater logs on Windows 11 месяцев назад
cmd a1dcf12b67 feature/drive: start factoring out Taildrive, add ts_omit_drive build tag 5 месяцев назад
control d05e6dc09e util/syspolicy/policyclient: add policyclient.Client interface, start plumbing 6 месяцев назад
derp 71cb6d4cbd cmd/tailscale/cli, derp: use client/local instead of deprecated client/tailscale (#17061) 5 месяцев назад
disco 09bfee2e06 disco: add missing message types to MessageSummary (#17081) 5 месяцев назад
docs 5f678b9bec docs/windows/policy: add ExitNode.AllowOverride as an option to ExitNodeID policy 7 месяцев назад
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 a1dcf12b67 feature/drive: start factoring out Taildrive, add ts_omit_drive build tag 5 месяцев назад
gokrazy 5eafce7e25 gokrazy/natlab: update gokrazy, wire up natlab tests to GitHub CI 1 год назад
health 5731869565 health: add an ETag to UnhealthyState for change detection 7 месяцев назад
hostinfo d6fd865d41 hostinfo, ipnlocal: add optional os-specific callback for querying the hostname (#15647) 10 месяцев назад
internal f421907c38 all-kube: create Tailscale Service for HA kube-apiserver ProxyGroup (#16572) 7 месяцев назад
ipn a1dcf12b67 feature/drive: start factoring out Taildrive, add ts_omit_drive build tag 5 месяцев назад
jsondb 71029cea2d all: update copyright and license headers 3 лет назад
k8s-operator 12ad630128 cmd/k8s-operator: allow specifying replicas for connectors (#16721) 6 месяцев назад
kube eed3e5dc61 ipn/store/kubestore,kube: fix cert error in admin UI (#16717) 7 месяцев назад
licenses 2da52dce7a licenses: update license notices 5 месяцев назад
log 5d61d1c7b0 log/sockstatlog: don't block for more than 5s on shutdown 1 год назад
logpolicy 2b3e533048 util/syspolicy: finish plumbing policyclient, add feature/syspolicy, move global impl 6 месяцев назад
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 82c5024f03 net/netns: fix controlLogf doc 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 ed6aa50bd5 prober: include current probe results in run-probe text response 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 57d653014b scripts/installer.sh: add FreeBSD 15 (#16741) 7 месяцев назад
sessionrecording bcaea4f245 k8s-operator,sessionrecording: fixing race condition between resize (#16454) 7 месяцев назад
smallzstd 7c1d6e35a5 all: use Go 1.22 range-over-int 1 год назад
ssh 67514f5eb2 ssh/tailssh: fix path of "true" on Darwin (#16569) 7 месяцев назад
syncs 7cbcc10eb1 syncs: add Semaphore.Len (#16981) 6 месяцев назад
tailcfg 0f5d3969ca tailcfg: add tailnet display name field (#16907) 6 месяцев назад
tempfork 46505ca338 tempfork/acme: update to latest version (#15543) 11 месяцев назад
tka 819db6759c tka: block key addition when the max number of keys is reached 6 месяцев назад
tool 84472167dd tool/gocross: fix environment variable clearing in gocross-wrapper.ps1 6 месяцев назад
tsconsensus b48d2de6ab cmd/natc,tsconsensus: add cluster config admin 6 месяцев назад
tsconst 3e4b0c1516 cmd/tailscale, ipn/ipnlocal: add ts_omit_webclient 5 месяцев назад
tsd 2b3e533048 util/syspolicy: finish plumbing policyclient, add feature/syspolicy, move global impl 6 месяцев назад
tsnet f4ae81e015 tsnet: remove APIClient() which is deprecated and now unused (#17073) 5 месяцев назад
tstest a1dcf12b67 feature/drive: start factoring out Taildrive, add ts_omit_drive build tag 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 77250a301a ipn/ipnlocal, types: plumb tailnet display name cap through to network profile (#17045) 5 месяцев назад
util ffc82ad820 util/eventbus: add ts_omit_debugeventbus 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 fb9d9ba86e wgengine/magicsock: add TS_DEBUG_NEVER_DIRECT_UDP debug knob (#17094) 5 месяцев назад
words 76fc02be09 words: just an ordinary commit, nothing fishy at all (#16982) 6 месяцев назад
.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 2685484f26 Bump Alpine, link iptables back to legacy (#15428) 11 месяцев назад
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 c5429cd49c go.toolchain.branch: bump to go1.25 (#16954) 6 месяцев назад
Dockerfile.base 2685484f26 Bump Alpine, link iptables back to legacy (#15428) 11 месяцев назад
LICENSE 947c14793a all: update tools that manage copyright headers 3 лет назад
Makefile e4031daa08 .github/Makefile/flake: update nix flake support (#16636) 6 месяцев назад
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 a1dcf12b67 feature/drive: start factoring out Taildrive, add ts_omit_drive build tag 5 месяцев назад
build_docker.sh 4dfed6b146 cmd/{k8s-operator,k8s-proxy}: add kube-apiserver ProxyGroup type (#16266) 7 месяцев назад
flake.lock e4031daa08 .github/Makefile/flake: update nix flake support (#16636) 6 месяцев назад
flake.nix 1a98943204 go.mod: bump github.com/ulikunitz/xz for security warning 6 месяцев назад
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.