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

Brian Fallik 9fa6cdf7bf fix minor typo 4 lat temu
.bencher babd163aac bencher: add config to suppress failures on benchmark regressions. 4 lat temu
.github c18b9d58aa tstest/archtest: add GOARCH-specific tests, run via qemu-user 4 lat temu
atomicfile df674d4189 atomicfile: don't Chmod on windows 5 lat temu
chirp fd4838dc57 wgengine/userspace: add support to automatically enable/disable the tailscale 4 lat temu
client 68917fdb5d cmd/tailscale/cli: add "debug metrics" subcommand 4 lat temu
cmd 24ea365d48 netcheck, controlclient, magicsock: add more metrics 4 lat temu
control 24ea365d48 netcheck, controlclient, magicsock: add more metrics 4 lat temu
derp 84c3a09a8d types/key: export constants for key size, not a method. 4 lat temu
disco 84c3a09a8d types/key: export constants for key size, not a method. 4 lat temu
docs 9fa6cdf7bf fix minor typo 4 lat temu
health 3fd5f4380f util/multierr: new package 4 lat temu
hostinfo 3e1daab704 hostinfo, control/controlclient: tell control when Ubuntu has disabled Tailscale's sources 4 lat temu
internal 700badd8f8 util/deephash: move internal/deephash to util/deephash 4 lat temu
ipn 57b039c51d util/clientmetrics: add new package to add metrics to the client 4 lat temu
kube 0842e2f45b ipn/store: add ability to store data as k8s secrets. 4 lat temu
log 280c84e46a ipn/ipnserver, paths, logpolicy: move Window config files out of %LocalAppData% 4 lat temu
logpolicy 3b541c833e util/clientmetric, logtail: log metric changes 4 lat temu
logtail 3b541c833e util/clientmetric, logtail: log metric changes 4 lat temu
metrics 94fb42d4b2 all: use testingutil.MinAllocsPerRun 4 lat temu
net 24ea365d48 netcheck, controlclient, magicsock: add more metrics 4 lat temu
packages 8236464252 packages/deb: add package to extract metadata from .deb files. 4 lat temu
paths 40e13c316c paths: add missing js/wasm stub 4 lat temu
portlist 9310713bfb all: fix some js/wasm compilation issues 4 lat temu
safesocket 0edd2d1cd5 safesocket: add js/wasm implementation with in-memory net.Conn 4 lat temu
scripts da7544bcc5 control/noise: implement the base transport for the 2021 control protocol. 4 lat temu
smallzstd 9cd4e65191 smallzstd: new package that constructs zstd small encoders/decoders. 5 lat temu
syncs cf8fcc1254 syncs: mark as safe for Go 1.18 4 lat temu
tailcfg 0532eb30db all: replace tailcfg.DiscoKey with key.DiscoPublic. 4 lat temu
tempfork baf8854f9a tempfork/wireguard-windows: remove the old windows firewall code now that we are no 4 lat temu
tsconst eccc2ac6ee net/interfaces/windows: update Tailscale interface detection logic to 4 lat temu
tsnet b3abdc381d tsnet: set varRoot state directory field 4 lat temu
tstest 3b541c833e util/clientmetric, logtail: log metric changes 4 lat temu
tstime 0daa32943e all: add (*testing.B).ReportAllocs() to every benchmark 4 lat temu
tsweb f01ff18b6f all: fix spelling mistakes 4 lat temu
types 293431aaea control/noise: use key.Machine{Public,Private} as appropriate. 4 lat temu
util 3b541c833e util/clientmetric, logtail: log metric changes 4 lat temu
version ff597e773e tailcfg, control/controlclient: add method to exit client from control plane 4 lat temu
wf 2919b3e3e6 wf: loopback condition should use MatchTypeFlagsAllSet. 4 lat temu
wgengine 24ea365d48 netcheck, controlclient, magicsock: add more metrics 4 lat temu
words de63e85810 words: remove two plurals, one with a typo 4 lat temu
.gitattributes bec17d05cb .gitattributes: add a smudge filter for go.mod. 6 lat temu
.gitignore dad10fee9c Revert "cmd/tailscaled: split package main into main shim + package" 5 lat temu
AUTHORS a8d8b8719a Move Linux client & common packages into a public repo. 6 lat temu
CODE_OF_CONDUCT.md 452b81d56b Add a code of conduct. 6 lat temu
Dockerfile f771327f0c Add multiarch image make target 4 lat temu
LICENSE bf6205d200 LICENSE: Reformat for Github 5 lat temu
Makefile f771327f0c Add multiarch image make target 4 lat temu
PATENTS a8d8b8719a Move Linux client & common packages into a public repo. 6 lat temu
README.md ec2b7c7da6 all: bump minimum Go to 1.17 4 lat temu
SECURITY.md e59605595e Add a SECURITY.md for vulnerability reports. 6 lat temu
VERSION.txt 3675fafec6 VERSION.txt: new unstable v1.17.0 4 lat temu
api.md a76c8eea58 api: document new API to authorize a device (#2825) 4 lat temu
build_dist.sh dfb1385fcc build_dist.sh: add a command to output the shell vars. 4 lat temu
build_docker.sh 2c403cbb31 docs/k8s: add instructions on how to run as a sidecar or a proxy. 4 lat temu
go.mod 0edd2d1cd5 safesocket: add js/wasm implementation with in-memory net.Conn 4 lat temu
go.sum 0edd2d1cd5 safesocket: add js/wasm implementation with in-memory net.Conn 4 lat temu
shell.nix 70f14af21e add nix-shell boilerplate (#1028) 5 lat temu
staticcheck.conf ece138ffc3 staticcheck.conf: remove unnecessary warning 4 lat temu
version-embed.go 31e4f60047 version: embed VERSION.txt in unstamped version 4 lat temu

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.17) 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.