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

Brad Fitzpatrick 3ac8ab1791 tsnet: add Server.AuthKey field 3 سال پیش
.bencher babd163aac bencher: add config to suppress failures on benchmark regressions. 4 سال پیش
.github c88bd53b1b .github/workflows: windows-race: print gcc version 3 سال پیش
atomicfile df674d4189 atomicfile: don't Chmod on windows 5 سال پیش
chirp 0868329936 all: use any instead of interface{} 4 سال پیش
client 2d65c1a950 client/tailscale: update ACLRow and ACLTest with new ACL fields 3 سال پیش
cmd bef6e2831a cmd/tailscale: move call to cli.CleanUpArgs() from main() into cli.Run() (#4954) 3 سال پیش
control 87a4c75fd4 control/controlclient, ipn/ipnlocal: remove Client.SetExpirySooner, fix race 3 سال پیش
derp edc90ebc61 net/wsconn: remove homegrown wrapper for turning a websocket.Conn into a net.Conn 3 سال پیش
disco 84c3a09a8d types/key: export constants for key size, not a method. 4 سال پیش
docs 3b55bf9306 build_docker.sh: add run.sh as an entrypoint to the docker image 3 سال پیش
envknob 8b81254992 ipn/ipnlocal: reject tailscale up --ssh if disabled on tailnet 3 سال پیش
health 43f9c25fd2 cmd/tailscale: surface authentication errors in status.Health (#4748) 3 سال پیش
hostinfo c6ac82e3a6 hostinfo,distro: Identify Western Digital MyCloud devices. 3 سال پیش
internal 700badd8f8 util/deephash: move internal/deephash to util/deephash 4 سال پیش
ipn 87a4c75fd4 control/controlclient, ipn/ipnlocal: remove Client.SetExpirySooner, fix race 3 سال پیش
kube 0868329936 all: use any instead of interface{} 4 سال پیش
log c41837842b wasm: drop pprof dependency 3 سال پیش
logpolicy 09363064b5 tsnet: use proper log ID 3 سال پیش
logtail 96f73b3894 logtail: do not panic in PrivateID.PublicID (#4815) 3 سال پیش
metrics 94fb42d4b2 all: use testingutil.MinAllocsPerRun 4 سال پیش
net 4baf34cf25 net/dns: set appropriate Windows registry values to prevent it from sending DNS changes concerning our interface to AD domain controllers. 3 سال پیش
packages 0868329936 all: use any instead of interface{} 4 سال پیش
paths b005b79236 net/dns, paths, util/winutil: change net/dns/windowsManager NRPT management to support more than 50 domains. 3 سال پیش
portlist 27a1ad6a70 wasm: exclude code that's not used on iOS for Wasm too 3 سال پیش
prober 7c7f37342f prober: used keyed initializer for LimitedReader. 4 سال پیش
safesocket cfe68d0a86 safesocket: log warning when running sandboxed Mac binary as root 3 سال پیش
scripts 1007983159 Adding pkg for Freebsd installation 3 سال پیش
smallzstd 9cd4e65191 smallzstd: new package that constructs zstd small encoders/decoders. 5 سال پیش
ssh 40503ef07a ssh/tailssh: fix logging typo 3 سال پیش
syncs 997b19545b syncs: use TryLock and TryRLock instead of unsafe 4 سال پیش
tailcfg 99ed54926b tailcfg: define some Node.Capabilities about SSH, its config 3 سال پیش
tempfork 2b8b887d55 ssh/tailssh: send banner messages during auth, move more to conn 3 سال پیش
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 3ac8ab1791 tsnet: add Server.AuthKey field 3 سال پیش
tstest 7fffddce8e net/portmapper: enable for iOS 3 سال پیش
tstime 0e62a7d1a2 tstime/mono: fix Before function comment 4 سال پیش
tsweb 32c6823cf5 tsweb: implement interceptor for error page presentation 3 سال پیش
types a1e429f7c3 control/controlclient, types/netmap: remove unused LocalPort field 3 سال پیش
util 35782f891d util/deephash: add canMemHash func + typeInfo property 3 سال پیش
version c6ac82e3a6 hostinfo,distro: Identify Western Digital MyCloud devices. 3 سال پیش
wf 0868329936 all: use any instead of interface{} 4 سال پیش
wgengine 76256d22d8 wgengine/router: windows: set SkipAsSource on IPv6 LL addresses 3 سال پیش
words c980bf01be words: The lists continue to drag-on. (#4780) 3 سال پیش
.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 cfb5bd0559 VERSION.txt: this is v1.27.0 3 سال پیش
api.md 53f6c3f9f2 api.md: document preauthorized and tags fields 3 سال پیش
build_dist.sh 01a9906bf8 tool/go: add wrapper to download and use go.toolchain.rev go version. 4 سال پیش
build_docker.sh 3b55bf9306 build_docker.sh: add run.sh as an entrypoint to the docker image 3 سال پیش
go.mod 22c544bca7 go.mod: bump go4.org/unsafe/assume-no-moving-gc for Go 1.19beta1 3 سال پیش
go.sum 22c544bca7 go.mod: bump go4.org/unsafe/assume-no-moving-gc for Go 1.19beta1 3 سال پیش
go.toolchain.branch 927fc36123 go.toolchain.branch: upgrade to Go 1.18 4 سال پیش
go.toolchain.rev db83926121 go.toolchain.rev: bump Go to 1.18.3 (+ Tailscale patches) 3 سال پیش
pull-toolchain.sh 408522ddad go.toolchain.rev: add update script 4 سال پیش
shell.nix 4f6fa3d63a shell.nix: use 1.18 from system nixpkgs 3 سال پیش
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.