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

David Anderson f145c2b65b .github/workflows: add workflow to update go.mod Nix SRI hash 3 лет назад
.bencher babd163aac bencher: add config to suppress failures on benchmark regressions. 4 лет назад
.github f145c2b65b .github/workflows: add workflow to update go.mod Nix SRI hash 3 лет назад
atomicfile 71029cea2d all: update copyright and license headers 3 лет назад
chirp 71029cea2d all: update copyright and license headers 3 лет назад
client 99b9d7a621 all: implement pcap streaming for datapath debugging 3 лет назад
cmd fe5558094c cmd/tailscale/cli: add logout and debug info to web 3 лет назад
control fb84ccd82d control/controlhttp: don't require valid TLS cert for Noise connection 3 лет назад
derp 8b2ae47c31 version: unexport all vars, turn Short/Long into funcs 3 лет назад
disco b1248442c3 all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 3 лет назад
docs 71029cea2d all: update copyright and license headers 3 лет назад
doctor 71029cea2d all: update copyright and license headers 3 лет назад
envknob 8b2ae47c31 version: unexport all vars, turn Short/Long into funcs 3 лет назад
health 2755f3843c health, net/tlsdial: add healthcheck for self-signed cert 3 лет назад
hostinfo 8b2ae47c31 version: unexport all vars, turn Short/Long into funcs 3 лет назад
internal 71029cea2d all: update copyright and license headers 3 лет назад
ipn 8b2ae47c31 version: unexport all vars, turn Short/Long into funcs 3 лет назад
jsondb 71029cea2d all: update copyright and license headers 3 лет назад
kube 71029cea2d all: update copyright and license headers 3 лет назад
licenses 10b20fd1c7 licenses: update android licenses 3 лет назад
log 71029cea2d all: update copyright and license headers 3 лет назад
logpolicy 8b2ae47c31 version: unexport all vars, turn Short/Long into funcs 3 лет назад
logtail f0f2b2e22b logtail: increase maximum log line size in low memory mode 3 лет назад
metrics 71029cea2d all: update copyright and license headers 3 лет назад
net 8b2ae47c31 version: unexport all vars, turn Short/Long into funcs 3 лет назад
packages 71029cea2d all: update copyright and license headers 3 лет назад
paths 71029cea2d all: update copyright and license headers 3 лет назад
portlist 71029cea2d all: update copyright and license headers 3 лет назад
prober 100d8e909e cmd/derpprobe: migrate to the prober framework 3 лет назад
safesocket 4441609d8f safesocket: remove the now unused WindowsLocalPort 3 лет назад
scripts 01d58c9b61 scripts/installer.sh: add Mendel OS and OpenMandriva. 3 лет назад
smallzstd 71029cea2d all: update copyright and license headers 3 лет назад
ssh b1248442c3 all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 3 лет назад
syncs 71029cea2d all: update copyright and license headers 3 лет назад
tailcfg 62f4df3257 net/interfaces, net/netns: add node attributes to control default interface getting and binding 3 лет назад
tempfork da8def8e13 all: remove old +build tags 3 лет назад
tka 71029cea2d all: update copyright and license headers 3 лет назад
tool afe19d1d81 tool/go: don't use the names GOOS/GOARCH in script 3 лет назад
tsconst 71029cea2d all: update copyright and license headers 3 лет назад
tsnet 04b57a371e ipn/ipnlocal: drop not required StateKey parameter 3 лет назад
tstest cf8dd7aa09 all: use Go 1.20's bytes.Clone 3 лет назад
tstime 71029cea2d all: update copyright and license headers 3 лет назад
tsweb 8b2ae47c31 version: unexport all vars, turn Short/Long into funcs 3 лет назад
types 9e6b4d7ad8 types/lazy: helpers for lazily computed values 3 лет назад
util ba48ec5e39 util/linuxfw: initial implementation of package 3 лет назад
version b64d900f0f version: fix version output for "go run" 3 лет назад
wf 71029cea2d all: update copyright and license headers 3 лет назад
wgengine fdc2018d67 wgengine/magicsock: remove superfluous "discokey" from log 3 лет назад
words 71029cea2d all: update copyright and license headers 3 лет назад
.gitattributes 1813c2a162 .: add .gitattributes entry to use Go hunk-header driver 4 лет назад
.gitignore e567902aa9 gitignore: ignore direnv nix-shell environment cache (#6520) 3 лет назад
ALPINE.txt 88133c361e Docker: add ALPINE.txt to manage alpine versions 3 лет назад
AUTHORS a8d8b8719a Move Linux client & common packages into a public repo. 6 лет назад
CODE_OF_CONDUCT.md 452b81d56b Add a code of conduct. 6 лет назад
Dockerfile f9667e4946 Dockerfile: fix docker build 3 лет назад
Dockerfile.base 71029cea2d all: update copyright and license headers 3 лет назад
LICENSE 947c14793a all: update tools that manage copyright headers 3 лет назад
Makefile b1248442c3 all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 3 лет назад
PATENTS a8d8b8719a Move Linux client & common packages into a public repo. 6 лет назад
README.md b1248442c3 all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 3 лет назад
SECURITY.md e59605595e Add a SECURITY.md for vulnerability reports. 6 лет назад
VERSION.txt 9af7e8a0ff VERSION.txt: this is 1.37 3 лет назад
api.md 3f16dec1bb api.md: change "admin panel" to "admin console" 3 лет назад
build_dist.sh 70a2929a12 version: make all exported funcs compile-time constant or lazy 3 лет назад
build_docker.sh f9667e4946 Dockerfile: fix docker build 3 лет назад
flake.lock 30e0156430 nix: update nixpkgs flake, override go_1_20 for tailscale_go (#7139) 3 лет назад
flake.nix 33f29a1532 go.toolchain.rev: update toolchain to test iOS Go fix 3 лет назад
go.mod ba48ec5e39 util/linuxfw: initial implementation of package 3 лет назад
go.mod.sri 33f29a1532 go.toolchain.rev: update toolchain to test iOS Go fix 3 лет назад
go.sum ba48ec5e39 util/linuxfw: initial implementation of package 3 лет назад
go.toolchain.branch 623176ebc9 go.toolchain.branch: update to Go 1.20 3 лет назад
go.toolchain.rev 9e4d99305b go.toolchain.rev: bump Go toolchain 3 лет назад
pull-toolchain.sh 0e4f2bdd0c pull-toolchain.sh: don't run update-flake.sh 3 лет назад
shell.nix 33f29a1532 go.toolchain.rev: update toolchain to test iOS Go fix 3 лет назад
staticcheck.conf ece138ffc3 staticcheck.conf: remove unnecessary warning 4 лет назад
update-flake.sh f145c2b65b .github/workflows: add workflow to update go.mod Nix SRI hash 3 лет назад
version-embed.go da75e49223 version: return correct Meta.MajorMinorPatch in non-dev builds 3 лет назад
version_test.go 71029cea2d all: update copyright and license headers 3 лет назад

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.