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

Brad Fitzpatrick ada8cd99af control/controlclient: add a LoginEphemeral LoginFlags bit 4 years ago
.bencher babd163aac bencher: add config to suppress failures on benchmark regressions. 4 years ago
.github c1293b3858 .github: Add Synology as an OS 4 years ago
atomicfile df674d4189 atomicfile: don't Chmod on windows 5 years ago
chirp fd4838dc57 wgengine/userspace: add support to automatically enable/disable the tailscale 4 years ago
client 52be1c0c78 tsnet: run the LocalAPI handler 4 years ago
cmd 640de1921f depaware: update 4 years ago
control ada8cd99af control/controlclient: add a LoginEphemeral LoginFlags bit 4 years ago
derp eebe7afad7 derp/derphttp: only log about a weird upgrade if any was specified 4 years ago
disco e7eb46bced wgengine/magicsock: add an explicit else branch to peerMap update. 4 years ago
docs cb030a0bb4 docs/k8s: add example about setting up a subnet router 4 years ago
health 09e692e318 health: don't look for UDP goroutines in js/wasm health check 4 years ago
hostinfo 7817ab6b20 net/dns/resolver: set maxDoHInFlight to 1000 on iOS 15+. 4 years ago
internal 700badd8f8 util/deephash: move internal/deephash to util/deephash 4 years ago
ipn 96ad68c5d6 ipn: remove mention of wgkey in comment. 4 years ago
kube 0842e2f45b ipn/store: add ability to store data as k8s secrets. 4 years ago
log 280c84e46a ipn/ipnserver, paths, logpolicy: move Window config files out of %LocalAppData% 4 years ago
logpolicy f01ff18b6f all: fix spelling mistakes 4 years ago
logtail 94fb42d4b2 all: use testingutil.MinAllocsPerRun 4 years ago
metrics 94fb42d4b2 all: use testingutil.MinAllocsPerRun 4 years ago
net 94fb42d4b2 all: use testingutil.MinAllocsPerRun 4 years ago
packages 8236464252 packages/deb: add package to extract metadata from .deb files. 4 years ago
paths 9310713bfb all: fix some js/wasm compilation issues 4 years ago
portlist 9310713bfb all: fix some js/wasm compilation issues 4 years ago
safesocket 2ce5fc7b0a safesocket: fail early on js/wasm 4 years ago
scripts c60806b557 scripts/installer.sh: use .asc suffix for armored debian gpg key URL. 4 years ago
smallzstd 9cd4e65191 smallzstd: new package that constructs zstd small encoders/decoders. 5 years ago
syncs cf8fcc1254 syncs: mark as safe for Go 1.18 4 years ago
tailcfg 94fb42d4b2 all: use testingutil.MinAllocsPerRun 4 years ago
tempfork baf8854f9a tempfork/wireguard-windows: remove the old windows firewall code now that we are no 4 years ago
tsconst 8f5b52e571 net/netns: add windows support. 5 years ago
tsnet c121fa81c4 tsnet: add TLS and LetsEncrypt example. 4 years ago
tstest 4bb2c6980d util/testingutil: new package with MinAllocsPerRun 4 years ago
tstime 0daa32943e all: add (*testing.B).ReportAllocs() to every benchmark 4 years ago
tsweb f01ff18b6f all: fix spelling mistakes 4 years ago
types 94fb42d4b2 all: use testingutil.MinAllocsPerRun 4 years ago
util a9c78910bd wgengine/wgcfg: convert to use new node key type. 4 years ago
version 94fb42d4b2 all: use testingutil.MinAllocsPerRun 4 years ago
wf 2919b3e3e6 wf: loopback condition should use MatchTypeFlagsAllSet. 4 years ago
wgengine 94fb42d4b2 all: use testingutil.MinAllocsPerRun 4 years ago
words de63e85810 words: remove two plurals, one with a typo 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 3ad11f6b8c Dockerfile: build/run instructions need a /, not : 4 years ago
LICENSE bf6205d200 LICENSE: Reformat for Github 5 years ago
Makefile af30897f0d Makefile: add a linux/arm check 4 years ago
PATENTS a8d8b8719a Move Linux client & common packages into a public repo. 6 years ago
README.md ec2b7c7da6 all: bump minimum Go to 1.17 4 years ago
SECURITY.md e59605595e Add a SECURITY.md for vulnerability reports. 6 years ago
VERSION.txt 3675fafec6 VERSION.txt: new unstable v1.17.0 4 years ago
api.md a76c8eea58 api: document new API to authorize a device (#2825) 4 years ago
build_dist.sh dfb1385fcc build_dist.sh: add a command to output the shell vars. 4 years ago
build_docker.sh 2c403cbb31 docs/k8s: add instructions on how to run as a sidecar or a proxy. 4 years ago
go.mod dc2fbf5877 wgengine/router: start using netlink instead of 'ip' on Linux 4 years ago
go.sum dc2fbf5877 wgengine/router: start using netlink instead of 'ip' on Linux 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
version-embed.go 31e4f60047 version: embed VERSION.txt in unstamped version 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.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.