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

Mario Minardi b4d39e2fd9 cmd/gitops-pusher: fix precedence when id token env var is empty пре 1 месец
.bencher babd163aac bencher: add config to suppress failures on benchmark regressions. пре 4 година
.github 2d2d5e6cc7 .github/workflows: set CMD_GO_USE_GIT_HASH=true for our cmd/go пре 1 месец
appc 9d13a6df9c appc,ipn/ipnlocal: Add split DNS entries for conn25 peers пре 1 месец
atomicfile 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
chirp 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
client 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
clientupdate 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
cmd b4d39e2fd9 cmd/gitops-pusher: fix precedence when id token env var is empty пре 1 месец
control afc90ce804 control/controlclient: add PersistView.Valid() check in NetmapFromMapResponseForDebug (#17878) пре 1 месец
derp 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
disco 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
docs 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
doctor 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
drive 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
envknob 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
feature bcceef3682 cmd/tailscale/cli: allow fetching keys from AWS Parameter Store пре 1 месец
gokrazy 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
health 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
hostinfo ae62569159 hostinfo: retrieve OS version for Macs running the OSS client пре 1 месец
internal bcceef3682 cmd/tailscale/cli: allow fetching keys from AWS Parameter Store пре 1 месец
ipn 03461ea7fb wgengine/netstack: add local tailscale service IPs to route and terminate locally (#18461) пре 1 месец
jsondb 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
k8s-operator 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
kube 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
licenses 65d6793204 licenses: update license notices пре 1 месец
log 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
logpolicy 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
logtail 698e92a761 logtail/filch: close Filch instances in TestConcurrentSameFile (#18571) пре 1 месец
maths 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
metrics 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
net f48cd46662 net/dns,ipn/ipnlocal: add nodecap to resolve subdomains (#18258) пре 1 месец
omit 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
packages 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
paths 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
portlist 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
posture 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
prober 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
proxymap 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
release 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
safesocket 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
safeweb 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
scripts 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
sessionrecording 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
ssh 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
syncs 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
tailcfg f48cd46662 net/dns,ipn/ipnlocal: add nodecap to resolve subdomains (#18258) пре 1 месец
tempfork 2e381557b8 feature/c2n: move answerC2N code + deps out of control/controlclient пре 5 месеци
tka 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
tool a374cc344e tool/gocross, pull-toolchain.sh: support a "next" Go toolchain пре 1 месец
tsconsensus 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
tsconst 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
tsd 03461ea7fb wgengine/netstack: add local tailscale service IPs to route and terminate locally (#18461) пре 1 месец
tsnet 6e44cb6ab3 tsnet: make ListenService examples consistent with other tsnet examples пре 1 месец
tstest 1183f7a191 tstest/integration/testcontrol: fix unguarded read of DNS config пре 1 месец
tstime 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
tsweb 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
types 9385dfe7f6 ipn/ipnlocal/netmapcache: add a package to split and cache network maps (#18497) пре 1 месец
util f48cd46662 net/dns,ipn/ipnlocal: add nodecap to resolve subdomains (#18258) пре 1 месец
version 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
wf 2a69f48541 wf: allow limited broadcast to/from permitted interfaces when using an exit node on Windows пре 1 месец
wgengine 03461ea7fb wgengine/netstack: add local tailscale service IPs to route and terminate locally (#18461) пре 1 месец
wif 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
words 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
.gitattributes 1813c2a162 .: add .gitattributes entry to use Go hunk-header driver пре 4 година
.gitignore d7d12761ba Add .stignore for syncthing (#18540) пре 1 месец
.golangci.yml d8e3bce0b4 .github: Bump golangci/golangci-lint-action from 6.5.0 to 7.0.0 (#15476) пре 11 месеци
.stignore d7d12761ba Add .stignore for syncthing (#18540) пре 1 месец
ALPINE.txt bb38bf7414 docker: bump alpine v3.19 -> 3.22 (#17155) пре 5 месеци
CODEOWNERS 0913ec023b CODEOWNERS: add the start of an owners file пре 2 година
CODE_OF_CONDUCT.md 0a5ba8280f CODE_OF_CONDUCT.md: update code of conduct пре 4 месеци
Dockerfile 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
Dockerfile.base 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
LICENSE 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
Makefile 801aac59db Makefile, cmd/*/depaware.txt: split out vendor packages explicitly пре 5 месеци
PATENTS a8d8b8719a Move Linux client & common packages into a public repo. пре 6 година
README.md 1aaa1648c4 README: update the version of Go in the README пре 5 месеци
SECURITY.md e59605595e Add a SECURITY.md for vulnerability reports. пре 6 година
VERSION.txt 1a79abf5fb VERSION.txt: this is v1.95.0 (#18414) пре 1 месец
api.md 124ff3b034 {api.md,publicapi}: remove old API docs (#13468) пре 1 година
assert_ts_toolchain_match.go 8f8236feb3 cmd/printdep: add --next flag to use rc Go build hash instead пре 1 месец
build_dist.sh 10cb59fa87 build_dist.sh: keep --extra-small making a usable build, add --min пре 5 месеци
build_docker.sh 16e0abe031 build_docker.sh: support including extra files (#17405) пре 5 месеци
flake.lock e4031daa08 .github/Makefile/flake: update nix flake support (#16636) пре 6 месеци
flake.nix 9385dfe7f6 ipn/ipnlocal/netmapcache: add a package to split and cache network maps (#18497) пре 1 месец
go.mod 9385dfe7f6 ipn/ipnlocal/netmapcache: add a package to split and cache network maps (#18497) пре 1 месец
go.mod.sri 9385dfe7f6 ipn/ipnlocal/netmapcache: add a package to split and cache network maps (#18497) пре 1 месец
go.sum 6a6aa805d6 cmd,feature: add identity token auto generation for workload identity (#18373) пре 2 месеци
go.toolchain.branch c5429cd49c go.toolchain.branch: bump to go1.25 (#16954) пре 6 месеци
go.toolchain.next.branch a374cc344e tool/gocross, pull-toolchain.sh: support a "next" Go toolchain пре 1 месец
go.toolchain.next.rev a374cc344e tool/gocross, pull-toolchain.sh: support a "next" Go toolchain пре 1 месец
go.toolchain.rev e39a730594 go.toolchain.rev: bump for cmd/go caching work пре 1 месец
go.toolchain.rev.sri e39a730594 go.toolchain.rev: bump for cmd/go caching work пре 1 месец
go.toolchain.version bfa90ea9b3 go.toolchain.rev: update to Go 1.25.6 (#18507) пре 1 месец
gomod_test.go 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
header.txt 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
license_test.go 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
pkgdoc_test.go 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
pull-toolchain.sh a374cc344e tool/gocross, pull-toolchain.sh: support a "next" Go toolchain пре 1 месец
shell.nix 9385dfe7f6 ipn/ipnlocal/netmapcache: add a package to split and cache network maps (#18497) пре 1 месец
staticcheck.conf 2716250ee8 all: cleanup unused code, part 2 (#10670) пре 2 година
update-flake.sh 7edb5b7d43 flake.nix: update Nix to use tailscale/go 1.25.2 (#17500) пре 5 месеци
version-embed.go 8f8236feb3 cmd/printdep: add --next flag to use rc Go build hash instead пре 1 месец
version_tailscale_test.go 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец
version_test.go 3ec5be3f51 all: remove AUTHORS file and references to it пре 1 месец

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.25. (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.