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

Brad Fitzpatrick e2eaae8224 cmd/derpprobe: add in a delay to wait for mesh info to sync 4 years ago
.github b90f149f5e Run tests on integration test changes (#2373) 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 e2eaae8224 cmd/derpprobe: add in a delay to wait for mesh info to sync 4 years ago
control 171ec9f8f4 control/{controlknobs,controlclient}: simplify knobs API, fix controlclient crash 4 years ago
derp d976a84d7e derp: allow self node when verifying clients 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 e28bc49e5f netns_linux: remove special handling for tests. 4 years ago
internal 700badd8f8 util/deephash: move internal/deephash to util/deephash 4 years ago
ipn 14135dd935 ipn/ipnlocal: make state_test catch the bug fixed by #2445 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 171ec9f8f4 control/{controlknobs,controlclient}: simplify knobs API, fix controlclient crash 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 7a08c159e6 safesocket: create the test socket in a temp dir 4 years ago
scripts 36492ace9d derp: add counters to track the type of dropped packets. 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 1bb6abc604 net/portmapper: add upnp port mapping 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 6eecf3c9d1 ipn/ipnlocal: stay out of map poll when down 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 171ec9f8f4 control/{controlknobs,controlclient}: simplify knobs API, fix controlclient crash 4 years ago
util ddb8726c98 util/deephash: don't reflect.Copy if element type is a defined uint8 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 2ba36c294b wgengine/monitor: subscribe to Linux ip rule events, log on rule deletes 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 64ee6cf64b api.md: update preview example 4 years ago
build_dist.sh dfb1385fcc build_dist.sh: add a command to output the shell vars. 4 years ago
build_docker.sh 9288e0d61c build_docker.sh: use build_dist.sh to inject version information 4 years ago
go.mod 798b0da470 tstest/integration/vms: codegen for top level tests (#2441) 4 years ago
go.sum 798b0da470 tstest/integration/vms: codegen for top level tests (#2441) 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.