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

Brad Fitzpatrick 3ea6ddbb5f control/controlbase: use less memory when idle (remove rxState.buf) 4 лет назад
.bencher babd163aac bencher: add config to suppress failures on benchmark regressions. 4 лет назад
.github 2a412ac9ee .github/workflows: work around golang/go#51629 4 лет назад
atomicfile df674d4189 atomicfile: don't Chmod on windows 5 лет назад
chirp 0868329936 all: use any instead of interface{} 4 лет назад
client f2041c9088 all: use strings.Cut even more 4 лет назад
cmd f2041c9088 all: use strings.Cut even more 4 лет назад
control 3ea6ddbb5f control/controlbase: use less memory when idle (remove rxState.buf) 4 лет назад
derp 18818763d1 derp: set Basic Constraints on metacert 4 лет назад
disco 84c3a09a8d types/key: export constants for key size, not a method. 4 лет назад
docs 9fa6cdf7bf fix minor typo 4 лет назад
envknob 0868329936 all: use any instead of interface{} 4 лет назад
health 2ff481ff10 net/dns: add health check for particular broken-ish Linux DNS config 4 лет назад
hostinfo 58a6c9b2b8 version, hostinfo: recognize gokrazy as a distro 4 лет назад
internal 700badd8f8 util/deephash: move internal/deephash to util/deephash 4 лет назад
ipn 0868329936 all: use any instead of interface{} 4 лет назад
kube 0868329936 all: use any instead of interface{} 4 лет назад
log 0868329936 all: use any instead of interface{} 4 лет назад
logpolicy 0868329936 all: use any instead of interface{} 4 лет назад
logtail 0868329936 all: use any instead of interface{} 4 лет назад
metrics 94fb42d4b2 all: use testingutil.MinAllocsPerRun 4 лет назад
net 445c04c938 wgengine: inject packetbuffers rather than bytes (#4220) 4 лет назад
packages 0868329936 all: use any instead of interface{} 4 лет назад
paths db85384f9c cmd/tailscaled: default to userspace-networking mode on gokrazy, set paths 4 лет назад
portlist 41fd4eab5c envknob: add new package for all the strconv.ParseBool(os.Getenv(..)) 4 лет назад
prober a09c30aac2 prober: refactor probe state into a Probe struct. 4 лет назад
safesocket 63cd581c3f safesocket: add ConnectionStrategy, provide control over fallbacks 4 лет назад
scripts eaf5591953 scripts: install gnupg only when apt-key is needed 4 лет назад
smallzstd 9cd4e65191 smallzstd: new package that constructs zstd small encoders/decoders. 5 лет назад
ssh f7e976db55 tailcfg, ssh/tailssh: make SSHUser value '=' map ssh-user to same local-user 4 лет назад
syncs 997b19545b syncs: use TryLock and TryRLock instead of unsafe 4 лет назад
tailcfg f7e976db55 tailcfg, ssh/tailssh: make SSHUser value '=' map ssh-user to same local-user 4 лет назад
tempfork baf8854f9a tempfork/wireguard-windows: remove the old windows firewall code now that we are no 4 лет назад
tool 01a9906bf8 tool/go: add wrapper to download and use go.toolchain.rev go version. 4 лет назад
tsconst eccc2ac6ee net/interfaces/windows: update Tailscale interface detection logic to 4 лет назад
tsnet bfb4a4d9e9 tsnet: fix format string/argument mismatch in log output 4 лет назад
tstest 32fd42430b all: use cibuild.On 4 лет назад
tstime 0e62a7d1a2 tstime/mono: fix Before function comment 4 лет назад
tsweb 7b4960316b tsweb: add PrometheusVar, for vars that want to output varz themselves. 4 лет назад
types bd073b8dd6 types/views: rename Generic to Unwrap 4 лет назад
util 32fd42430b all: use cibuild.On 4 лет назад
version 1f22507c06 version: use Go 1.18's git stamping as default implementation 4 лет назад
wf 0868329936 all: use any instead of interface{} 4 лет назад
wgengine 445c04c938 wgengine: inject packetbuffers rather than bytes (#4220) 4 лет назад
words 2448c000b3 words: more hamsters, less hampsters (#3938) 4 лет назад
.gitattributes 1813c2a162 .: add .gitattributes entry to use Go hunk-header driver 4 лет назад
.gitignore 0ada42684b Makefile: update make spk target to use the new go spk builder 4 лет назад
AUTHORS a8d8b8719a Move Linux client & common packages into a public repo. 6 лет назад
CODE_OF_CONDUCT.md 452b81d56b Add a code of conduct. 6 лет назад
Dockerfile d77b4c1344 Dockerfile: require Go 1.18 4 лет назад
Dockerfile.base 138662e248 Dockerfile.base: update to alpine:3.15 4 лет назад
LICENSE bf6205d200 LICENSE: Reformat for Github 5 лет назад
Makefile f6642e0ece Makefile: add tidy target 4 лет назад
PATENTS a8d8b8719a Move Linux client & common packages into a public repo. 6 лет назад
README.md f143ff89b7 README.md: update current Go release 4 лет назад
SECURITY.md e59605595e Add a SECURITY.md for vulnerability reports. 6 лет назад
VERSION.txt 8175504584 VERSION.txt: This is 1.23. 4 лет назад
api.md dd6472d4e8 api: document preauthorized auth keys 4 лет назад
build_dist.sh 01a9906bf8 tool/go: add wrapper to download and use go.toolchain.rev go version. 4 лет назад
build_docker.sh 01a9906bf8 tool/go: add wrapper to download and use go.toolchain.rev go version. 4 лет назад
go.mod 73314009d0 go.mod: bump netstack (#4222) 4 лет назад
go.sum 73314009d0 go.mod: bump netstack (#4222) 4 лет назад
go.toolchain.branch 927fc36123 go.toolchain.branch: upgrade to Go 1.18 4 лет назад
go.toolchain.rev 9d4ffd135f go.toolchain.rev: pick up crypto/x509 crash fix 4 лет назад
pull-toolchain.sh 408522ddad go.toolchain.rev: add update script 4 лет назад
shell.nix 70f14af21e add nix-shell boilerplate (#1028) 5 лет назад
staticcheck.conf ece138ffc3 staticcheck.conf: remove unnecessary warning 4 лет назад
version-embed.go ebdd25920e go.toolchain.rev: add Go toolchain rev, tool to print it out 4 лет назад

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 on Linux, Windows and macOS, and to varying degrees on FreeBSD, OpenBSD, and Darwin. (The Tailscale iOS and Android apps use this repo's code, but this repo doesn't contain the mobile GUI code.)

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

The Synology package is at https://github.com/tailscale/tailscale-synology

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