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

Maisem Ali 1b8a0dfe5e ssh/tailssh: also handle recording upload failure during writes 2 years ago
.bencher babd163aac bencher: add config to suppress failures on benchmark regressions. 4 years ago
.github 5acc7c4b1e .github: Bump ruby/action-slack from 3.0.0 to 3.2.1 2 years ago
atomicfile 280255acae various: add golangci-lint, fix issues (#7905) 2 years ago
chirp 71029cea2d all: update copyright and license headers 3 years ago
client 280255acae various: add golangci-lint, fix issues (#7905) 2 years ago
cmd 018a382729 cmd/tailscale/cli: [serve] fix MinGW path conversion (#7964) 2 years ago
control 7330aa593e all: avoid repeated default interface lookups 2 years ago
derp 7330aa593e all: avoid repeated default interface lookups 2 years ago
disco b1248442c3 all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 3 years ago
docs 71029cea2d all: update copyright and license headers 3 years ago
doctor c98652c333 doctor/permissions: add new check to print process permissions 2 years ago
envknob 40fa2a420c envknob,net/tstun,wgengine: use TS_DEBUG_MTU consistently 2 years ago
health 2755f3843c health, net/tlsdial: add healthcheck for self-signed cert 3 years ago
hostinfo f85dc6f97c ci: add more lints (#7909) 2 years ago
internal 280255acae various: add golangci-lint, fix issues (#7905) 2 years ago
ipn ce11c82d51 ipn/store/awsstore: persist state with intelligent tiering 2 years ago
jsondb 71029cea2d all: update copyright and license headers 3 years ago
kube e0d291ab8a ipn/store: add support for stores to hook into a custom dialer 2 years ago
licenses 2e07245384 licenses: update android licenses 2 years ago
log 7330aa593e all: avoid repeated default interface lookups 2 years ago
logpolicy 7330aa593e all: avoid repeated default interface lookups 2 years ago
logtail 4722f7e322 all: move network monitoring from wgengine/monitor to net/netmon 2 years ago
metrics a7eab788e4 metrics: add SetInt64 to ease using LabelMap for gauge metrics 3 years ago
net f58751eb2b net/packet: add NAT support for DCCP and GRE 2 years ago
packages 71029cea2d all: update copyright and license headers 3 years ago
paths 71029cea2d all: update copyright and license headers 3 years ago
portlist 280255acae various: add golangci-lint, fix issues (#7905) 2 years ago
prober 7330aa593e all: avoid repeated default interface lookups 2 years ago
release 311352d195 release/dist/cli: add --verbose to print subcommand output 3 years ago
safesocket f844791e15 safesocket: enable test to run on Windows unpriviliged 2 years ago
scripts c791e64881 scripts/installer: add Deepin, RisiOS. 2 years ago
smallzstd 71029cea2d all: update copyright and license headers 3 years ago
ssh 1b8a0dfe5e ssh/tailssh: also handle recording upload failure during writes 2 years ago
syncs cd35a79136 syncs: relax TestWatchMultipleValues timing on Windows 2 years ago
tailcfg 7778d708a6 ssh/tailssh: handle dialing multiple recorders and failing open 2 years ago
tempfork d1d5d52b2c net/tstun/table: add initial RoutingTable implementation 2 years ago
tka 280255acae various: add golangci-lint, fix issues (#7905) 2 years ago
tool 280255acae various: add golangci-lint, fix issues (#7905) 2 years ago
tsconst 71029cea2d all: update copyright and license headers 3 years ago
tsnet 7330aa593e all: avoid repeated default interface lookups 2 years ago
tstest 4722f7e322 all: move network monitoring from wgengine/monitor to net/netmon 2 years ago
tstime 87b4bbb94f tstime/rate: add Value (#7491) 3 years ago
tsweb 8546ff98fb tsweb: move varz handler(s) into separate modules 2 years ago
types f58751eb2b net/packet: add NAT support for DCCP and GRE 2 years ago
util 280255acae various: add golangci-lint, fix issues (#7905) 2 years ago
version 9ebab961c9 version/mkversion: don't break on tagged go.mod entries 3 years ago
wf 71029cea2d all: update copyright and license headers 3 years ago
wgengine 7330aa593e all: avoid repeated default interface lookups 2 years ago
words 812025a39c words: what?! a llama?! he's supposed to be dead! (#7623) 3 years ago
.gitattributes 1813c2a162 .: add .gitattributes entry to use Go hunk-header driver 4 years ago
.gitignore fc4b25d9fd release: open-source release build logic for unix packages 3 years ago
.golangci.yml f85dc6f97c ci: add more lints (#7909) 2 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 f9667e4946 Dockerfile: fix docker build 3 years ago
Dockerfile.base 71029cea2d all: update copyright and license headers 3 years ago
LICENSE 947c14793a all: update tools that manage copyright headers 3 years ago
Makefile 8b9ee7a558 Makefile: add help text to Makefile 3 years ago
PATENTS a8d8b8719a Move Linux client & common packages into a public repo. 6 years ago
README.md b1248442c3 all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 3 years ago
SECURITY.md e59605595e Add a SECURITY.md for vulnerability reports. 6 years ago
VERSION.txt 6d3490f399 VERSION.txt: this is 1.39 3 years ago
api.md 4ecc7fdf5f api.md: update example auth key value 2 years ago
build_dist.sh 82e067e0ff build_dist.sh: make cross-compilation friendly 3 years ago
build_docker.sh f9667e4946 Dockerfile: fix docker build 3 years ago
flake.lock 30e0156430 nix: update nixpkgs flake, override go_1_20 for tailscale_go (#7139) 3 years ago
flake.nix e3b2250e26 go.mod.sri: update SRI hash for go.mod changes 2 years ago
go.mod 280255acae various: add golangci-lint, fix issues (#7905) 2 years ago
go.mod.sri e3b2250e26 go.mod.sri: update SRI hash for go.mod changes 2 years ago
go.sum 280255acae various: add golangci-lint, fix issues (#7905) 2 years ago
go.toolchain.branch 623176ebc9 go.toolchain.branch: update to Go 1.20 3 years ago
go.toolchain.rev 45138fcfba go.toolchain.rev: update for go 1.20.3 2 years ago
pull-toolchain.sh 0e4f2bdd0c pull-toolchain.sh: don't run update-flake.sh 3 years ago
shell.nix e3b2250e26 go.mod.sri: update SRI hash for go.mod changes 2 years ago
staticcheck.conf ece138ffc3 staticcheck.conf: remove unnecessary warning 4 years ago
update-flake.sh f145c2b65b .github/workflows: add workflow to update go.mod Nix SRI hash 3 years ago
version-embed.go da75e49223 version: return correct Meta.MajorMinorPatch in non-dev builds 3 years ago
version_test.go 71029cea2d all: update copyright and license headers 3 years ago

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.