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

Brad Fitzpatrick 1e6d8a1043 version: don't allocate parsing unsupported versions, empty strings 4 years ago
.github 6f3a5802a6 experimental VM test: add -v 4 years ago
atomicfile df674d4189 atomicfile: don't Chmod on windows 5 years ago
client 506c2fe8e2 cmd/tailscale: make netcheck use active DERP map, delete static copy 4 years ago
cmd ec52760a3d wgengine/router_windows: support toggling local lan access when using 4 years ago
control fd7fddd44f control/controlclient: add debug knob to force node to only IPv6 self addr 4 years ago
derp 506c2fe8e2 cmd/tailscale: make netcheck use active DERP map, delete static copy 4 years ago
disco 25df067dd0 all: adapt to opaque netaddr types 4 years ago
health 9d542e08e2 wgengine/magicsock: always run ReceiveIPv6 4 years ago
hostinfo 03311bb0d6 hostinfo: add hostinfo package, move stuff out of controlclient 4 years ago
internal c065cc6169 internal/deephash: remove remaining type special cases 4 years ago
ipn f11a8928a6 ipn/ipnlocal: fix data race 4 years ago
log 420838f90e log/filelogger: move our Windows disk file writing+rotation package here 5 years ago
logpolicy a480b1baa5 logpolicy: set log target on windows based on a registry key (#1542) 5 years ago
logtail 297b3d6fa4 staticcheck.conf: turn off noisy lint errors 4 years ago
metrics f267a7396f metrics: add LabelMap.GetFloat 5 years ago
net 6b9f8208f4 net/dns: do not run wsl.exe as LocalSystem 4 years ago
packages 8236464252 packages/deb: add package to extract metadata from .deb files. 4 years ago
paths 95e296fd96 cmd/tailscale/web: restrict web access to synology admins. 4 years ago
portlist 297b3d6fa4 staticcheck.conf: turn off noisy lint errors 4 years ago
safesocket 737151ea4a safesocket: delete unused function 4 years ago
scripts 4f92f405ee scripts: fix up installer script comments. 4 years ago
smallzstd 9cd4e65191 smallzstd: new package that constructs zstd small encoders/decoders. 5 years ago
syncs 676e32ad72 syncs: add AtomicUint32 4 years ago
tailcfg 597fa3d3c3 tailcfg/derpmap: add flag to omit ts's derps 4 years ago
tempfork ac3de93d5c tempfork/wireguard-windows/firewall: add. 5 years ago
tsconst 8f5b52e571 net/netns: add windows support. 5 years ago
tsnet 25df067dd0 all: adapt to opaque netaddr types 4 years ago
tstest 5813da885c tstest/integration/vms: verbosify nixos logs to fs, disable unstable (#2294) 4 years ago
tstime 9f1b02699a tstime: add RandomDurationBetween helper 5 years ago
tsweb 0022c3d2e2 tsweb: replace NewMux with a more flexible DebugHandler. 4 years ago
types 8a4dffee07 types/logger: fix deadlock RateLimitedFn reentrancy 4 years ago
util 6b9f8208f4 net/dns: do not run wsl.exe as LocalSystem 4 years ago
version 1e6d8a1043 version: don't allocate parsing unsupported versions, empty strings 4 years ago
wf 2919b3e3e6 wf: loopback condition should use MatchTypeFlagsAllSet. 4 years ago
wgengine ec52760a3d wgengine/router_windows: support toggling local lan access when using 4 years ago
.gitattributes bec17d05cb .gitattributes: add a smudge filter for go.mod. 6 years ago
.gitignore dad10fee9c Revert "cmd/tailscaled: split package main into main shim + package" 5 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 0d0fad43ed build_docker.sh, Dockerfile: fix bug with shell quoting 5 years ago
LICENSE bf6205d200 LICENSE: Reformat for Github 5 years ago
Makefile a038e8690c wgengine/netstack: fix 32-bit build broken from prior commit 5 years ago
PATENTS a8d8b8719a Move Linux client & common packages into a public repo. 6 years ago
README.md 86d3a6c9a6 Switch to Go 1.16. 5 years ago
SECURITY.md e59605595e Add a SECURITY.md for vulnerability reports. 6 years ago
VERSION.txt c69d30cdd7 VERSION.txt: this is v1.11.0. 4 years ago
api.md 5e90037f1a api.md: clarify response behaviour for ACL POST endpoint 4 years ago
build_dist.sh dfb1385fcc build_dist.sh: add a command to output the shell vars. 4 years ago
build_docker.sh 0d0fad43ed build_docker.sh, Dockerfile: fix bug with shell quoting 5 years ago
go.mod 38be964c2b go.mod: update netstack 4 years ago
go.sum 38be964c2b go.mod: update netstack 4 years ago
shell.nix 70f14af21e add nix-shell boilerplate (#1028) 5 years ago
staticcheck.conf ece138ffc3 staticcheck.conf: remove unnecessary warning 4 years ago

README.md

Tailscale

https://tailscale.com

Private WireGuard® networks made easy

Overview

This repository contains all the open source Tailscale client code and the tailscaled daemon and tailscale CLI tool. The tailscaled daemon runs primarily on Linux; it also works to varying degrees on FreeBSD, OpenBSD, Darwin, and Windows.

The Android app is at https://github.com/tailscale/tailscale-android

Using

We serve packages for a variety of distros 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 that are not open source.

Building

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.

We only guarantee to support the latest Go release and any Go beta or release candidate builds (currently Go 1.16) in module mode. It might work in earlier Go versions or in GOPATH mode, but we're making no effort to keep those working.

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.

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.