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

David Anderson df5adb2e23 wgengine/monitor: on linux, also monitor for IPv6 changes. 5 years ago
.github 86d3a6c9a6 Switch to Go 1.16. 5 years ago
atomicfile df674d4189 atomicfile: don't Chmod on windows 5 years ago
cmd 2c500cee23 go.mod: bump github.com/mdlayher/netlink, github.com/jsimonetti/rtnetlink 5 years ago
control fd8e070d01 health, control/controlclient, wgengine: report when router unhealthy 5 years ago
derp ca51529b81 derp/derphttp: return nicer errors from Recv on Close 5 years ago
disco edf64e0901 wgengine/magicsock: send, use endpoints in CallMeMaybe messages 5 years ago
health fd8e070d01 health, control/controlclient, wgengine: report when router unhealthy 5 years ago
internal fe7c3e9c17 all: move wgcfg from wireguard-go 5 years ago
ipn b83c273737 wgengine/filter: use IPSet for localNets instead of prefixes. 5 years ago
log 420838f90e log/filelogger: move our Windows disk file writing+rotation package here 5 years ago
logpolicy 98f9e82c62 logpolicy: on Windows, use tailscale-ipn log name if it already existed 5 years ago
logtail 013da6660e logtail: add tests 5 years ago
metrics f267a7396f metrics: add LabelMap.GetFloat 5 years ago
net 6a2c6541da net/tshttpproxy: support HTTP proxy environment credentials on Windows too 5 years ago
paths 54e108ff4e paths: update some default paths for darwin 5 years ago
portlist 9748c5414e portlist: adjust build tags for iOS + Go 1.16 5 years ago
safesocket d3efe8caf6 safesocket, ipn/ipnserver: look up peer creds on Darwin 5 years ago
scripts 67ebc7c0e7 Allow 2021 in LICENSE header. 5 years ago
smallzstd 9cd4e65191 smallzstd: new package that constructs zstd small encoders/decoders. 5 years ago
syncs c431382720 Fix receiver in order to be consistent: syncs.WaitGroupChan 5 years ago
tailcfg 76fb27bea7 dnsname,tailcfg: add hostname sanitation logic to node display names (#1304) 5 years ago
tempfork a6cad71fb2 go.mod: upgrade staticcheck to 0.1.0 5 years ago
tsconst 8f5b52e571 net/netns: add windows support. 5 years ago
tstest 39f7a61e9c tstest/staticcheck: import the main package to fix "go mod tidy" 5 years ago
tstime 9f1b02699a tstime: add RandomDurationBetween helper 5 years ago
tsweb 516e8a4838 tsweb: add num_goroutines expvar 5 years ago
types 1e7a35b225 types/netmap: split controlclient.NetworkMap off into its own leaf package 5 years ago
util 76fb27bea7 dnsname,tailcfg: add hostname sanitation logic to node display names (#1304) 5 years ago
version c386496e4f version: bump date 5 years ago
wgengine df5adb2e23 wgengine/monitor: on linux, also monitor for IPv6 changes. 5 years ago
.gitattributes bec17d05cb .gitattributes: add a smudge filter for go.mod. 6 years ago
.gitignore 70f14af21e add nix-shell boilerplate (#1028) 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 86d3a6c9a6 Switch to Go 1.16. 5 years ago
LICENSE bf6205d200 LICENSE: Reformat for Github 5 years ago
Makefile 5a94317628 Makefile: remove tsshd from depaware 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 7a16ac80b7 VERSION.txt: this is 1.5.0. 5 years ago
api.md b405644f5d api.md: add TOC 5 years ago
build_dist.sh 39bbb86b09 build_dist: fix after version refactor. 5 years ago
build_docker.sh fec9490378 Add docker build script to inject version information 5 years ago
go.mod b83c273737 wgengine/filter: use IPSet for localNets instead of prefixes. 5 years ago
go.sum b83c273737 wgengine/filter: use IPSet for localNets instead of prefixes. 5 years ago
shell.nix 70f14af21e add nix-shell boilerplate (#1028) 5 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.