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

Maisem Ali 0bf515e780 cmd/tailscale: changes to --advertise-tags should wait for possible 4 years ago
.bencher babd163aac bencher: add config to suppress failures on benchmark regressions. 4 years ago
.github 7742caef0a .github/workflows: always ignore go:generate dnsfallback check 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 0bf515e780 cmd/tailscale: changes to --advertise-tags should wait for possible 4 years ago
control f01ff18b6f all: fix spelling mistakes 4 years ago
derp 7cf8ec8108 net/tlsdial: bake in LetsEncrypt's ISRG Root X1 root 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 aae622314e tailcfg, health: add way for control plane to add problems to 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 6425f497b1 ipn/ipnserver paths: add paths.LegacyStateFilePath 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 0c038b477f logtail: add a re-usable buffer for uploads 4 years ago
metrics d1cb7a2639 metrics: use SYS_OPENAT 4 years ago
net 9af27ba829 cmd/cloner: mangle "go:generate" in cloner.go 4 years ago
packages 8236464252 packages/deb: add package to extract metadata from .deb files. 4 years ago
paths 6425f497b1 ipn/ipnserver paths: add paths.LegacyStateFilePath 4 years ago
portlist a05086ef86 portlist: add debug knob to disable portlist collection 4 years ago
safesocket 82117f7a63 safesocket: actually fix CLI on macsys build 4 years ago
scripts 1b4e007425 scripts/installer.sh: use expr for regex matches. 4 years ago
smallzstd 9cd4e65191 smallzstd: new package that constructs zstd small encoders/decoders. 5 years ago
syncs d2aa144dcc syncs: bump known good version to include Go 1.17 4 years ago
tailcfg 9af27ba829 cmd/cloner: mangle "go:generate" in cloner.go 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 f01ff18b6f all: fix spelling mistakes 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 9af27ba829 cmd/cloner: mangle "go:generate" in cloner.go 4 years ago
util c6ea282b3f utils/winutil utils/winutil/vss: add utility function for extracting data from Windows System Restore Point backups. 4 years ago
version a71fb6428d version: new month, new date bump 4 years ago
wf 2919b3e3e6 wf: loopback condition should use MatchTypeFlagsAllSet. 4 years ago
wgengine c30fa5903d wgengine/magicsock: remove peerMap.byDiscoKey map 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 9ab8492694 docker: install ip6tables 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 eaa0aef934 go.mod: bump github.com/creack/pty from 1.1.16 to 1.1.17 4 years ago
go.sum eaa0aef934 go.mod: bump github.com/creack/pty from 1.1.16 to 1.1.17 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.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.