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

Josh Bleecher Snyder 8a3d52e882 wgengine/magicsock: use mono.Time 4 years ago
.github dde8e28f00 disable vm tests on every commit to main 4 years ago
atomicfile df674d4189 atomicfile: don't Chmod on windows 5 years ago
client 506c2fe8e2 cmd/tailscale: make netcheck use active DERP map, delete static copy 4 years ago
cmd 8a3d52e882 wgengine/magicsock: use mono.Time 4 years ago
control dfa5e38fad control/controlclient: report whether we're in a snap package 4 years ago
derp e299300b48 net/dnscache: cache all IPs per hostname 4 years ago
disco 25df067dd0 all: adapt to opaque netaddr types 4 years ago
health 9d542e08e2 wgengine/magicsock: always run ReceiveIPv6 4 years ago
hostinfo e28bc49e5f netns_linux: remove special handling for tests. 4 years ago
internal 700badd8f8 util/deephash: move internal/deephash to util/deephash 4 years ago
ipn 8a3d52e882 wgengine/magicsock: use mono.Time 4 years ago
log 420838f90e log/filelogger: move our Windows disk file writing+rotation package here 5 years ago
logpolicy 0aa77ba80f tstest/integration: fix filch test flake 4 years ago
logtail 297b3d6fa4 staticcheck.conf: turn off noisy lint errors 4 years ago
metrics f267a7396f metrics: add LabelMap.GetFloat 5 years ago
net c2202cc27c net/tstun: use mono.Time 4 years ago
packages 8236464252 packages/deb: add package to extract metadata from .deb files. 4 years ago
paths 95e296fd96 cmd/tailscale/web: restrict web access to synology admins. 4 years ago
portlist 297b3d6fa4 staticcheck.conf: turn off noisy lint errors 4 years ago
safesocket 24db1a3c9b safesocket: print full lsof command on failure 4 years ago
scripts 0ec9040c5e scripts: remove special case for _strings.go files in check license headers 4 years ago
smallzstd 9cd4e65191 smallzstd: new package that constructs zstd small encoders/decoders. 5 years ago
syncs e4fecfe31d wgengine/{monitor,router}: restore Linux ip rules when systemd deletes them 4 years ago
tailcfg d8d9036dbb tailcfg: add Node.PrimaryRoutes 4 years ago
tempfork 41d06bdf86 tempfork/wireguard-windows: remove unnecessary build tag 4 years ago
tsconst 8f5b52e571 net/netns: add windows support. 5 years ago
tsnet 25df067dd0 all: adapt to opaque netaddr types 4 years ago
tstest 60f34c70a2 tstest/integration/vms: disable rDNS for sshd on centos (#2492) 4 years ago
tstime 142670b8c2 tstime/mono: new package 4 years ago
tsweb 3377089583 tsweb: add float64 to logged metrics 4 years ago
types 171ec9f8f4 control/{controlknobs,controlclient}: simplify knobs API, fix controlclient crash 4 years ago
util d145c594ad util/deephash: improve cycle detection (#2470) 4 years ago
version 1b14e1d6bd version: bump date 4 years ago
wf 2919b3e3e6 wf: loopback condition should use MatchTypeFlagsAllSet. 4 years ago
wgengine 8a3d52e882 wgengine/magicsock: use mono.Time 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 2d35737a7a Dockerfile: remove extra COPY step (#2355) 4 years ago
LICENSE bf6205d200 LICENSE: Reformat for Github 5 years ago
Makefile a038e8690c wgengine/netstack: fix 32-bit build broken from prior commit 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 bf7ad05230 VERSION.txt: this is v1.13.0. 4 years ago
api.md 64ee6cf64b api.md: update preview example 4 years ago
build_dist.sh dfb1385fcc build_dist.sh: add a command to output the shell vars. 4 years ago
build_docker.sh 9288e0d61c build_docker.sh: use build_dist.sh to inject version information 4 years ago
go.mod c179b9b535 cmd/tsshd: switch from github.com/kr/pty to github.com/creack/pty 4 years ago
go.sum c179b9b535 cmd/tsshd: switch from github.com/kr/pty to github.com/creack/pty 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

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.