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

Joe Tsai eff62b7b1b logtail: remove MustParsePublicID (#6335) 3 anni fa
.bencher babd163aac bencher: add config to suppress failures on benchmark regressions. 4 anni fa
.github 60f77ba515 Fix vm ci tests clogging in fork repository pull request 3 anni fa
atomicfile f0347e841f refactor: move from io/ioutil to io and os packages 3 anni fa
chirp d4811f11a0 all: fix spelling mistakes 3 anni fa
client 1f4669a380 all: standardize on LocalAPI 3 anni fa
cmd 1f4669a380 all: standardize on LocalAPI 3 anni fa
control 513780f4f8 ipn/ipnlocal: move URL validation to LocalBackend 3 anni fa
derp 1f4669a380 all: standardize on LocalAPI 3 anni fa
disco da8def8e13 all: remove old +build tags 3 anni fa
docs 5e703bdb55 docs/k8s: add secrets patching permission to the tailscale role. 3 anni fa
doctor b1867457a6 doctor: add package for running in-depth healthchecks; use in bugreport (#5413) 3 anni fa
envknob 73db56af52 ipn/ipnlocal: filter peers with bad signatures when tka is enabled 3 anni fa
health 3f8e185003 health: add Warnable, move ownership of warnable items to callers 3 anni fa
hostinfo da8def8e13 all: remove old +build tags 3 anni fa
internal da8def8e13 all: remove old +build tags 3 anni fa
ipn 1de64e89cd ipn/ipnlocal: set Hostinfo.WireIngress when ingress enabled 3 anni fa
jsondb 96afd1db46 jsondb: small package to load/save JSON DBs. 3 anni fa
kube af966391c7 kube: handle 201 as a valid status code. 3 anni fa
licenses 751f866f01 licenses: update win/apple licenses 3 anni fa
log da8def8e13 all: remove old +build tags 3 anni fa
logpolicy d4811f11a0 all: fix spelling mistakes 3 anni fa
logtail eff62b7b1b logtail: remove MustParsePublicID (#6335) 3 anni fa
metrics db2cc393af util/dirwalk, metrics, portlist: add new package for fast directory walking 3 anni fa
net e9c851b04b ipn/ipnlocal: also accept service IP IPv6 literal in brackets for quad100 3 anni fa
packages f0347e841f refactor: move from io/ioutil to io and os packages 3 anni fa
paths da8def8e13 all: remove old +build tags 3 anni fa
portlist f81351fdef portlist: fix data race 3 anni fa
prober 06b55ab50f prober: fix test flake 3 anni fa
safesocket da8def8e13 all: remove old +build tags 3 anni fa
scripts 446057d613 scripts/installer.sh: add Nobara Linux. 3 anni fa
smallzstd f0347e841f refactor: move from io/ioutil to io and os packages 3 anni fa
ssh 2d653230ef ssh/tailssh: only call CloseWrite when both stdout and stderr are done 3 anni fa
syncs 9a05cdd2b5 syncs: add Map (#6260) 3 anni fa
tailcfg 296e712591 tailcfg: add CapabilityDebug 3 anni fa
tempfork da8def8e13 all: remove old +build tags 3 anni fa
tka 4c31183781 cmd/tailscale,ipn: minor fixes to tailscale lock commands 3 anni fa
tool d60f7fe33f cmd/tsconnect: run wasm-opt on the generated wasm file 3 anni fa
tsconst eccc2ac6ee net/interfaces/windows: update Tailscale interface detection logic to 4 anni fa
tsnet 1950e56478 tsnet: add Server.ControlURL option 3 anni fa
tstest 26d1fc867e ipn/ipnlocal: delete profile on logout 3 anni fa
tstime da8def8e13 all: remove old +build tags 3 anni fa
tsweb 614a24763b tsweb: sort top-level expvars after removing type prefixes 3 anni fa
types 235309adc4 all: store NL keys per profile 3 anni fa
util cba1312dab util/endian: add support on Loongnix-Server (loong64) 3 anni fa
version 6d48a54b3d version: make IsSandboxedMacOS handle the IPNExtension binary too 3 anni fa
wf da8def8e13 all: remove old +build tags 3 anni fa
wgengine 3f8e185003 health: add Warnable, move ownership of warnable items to callers 3 anni fa
words f36ddd9275 words: even the odds with something that reminds you of vacation (#6025) 3 anni fa
.gitattributes 1813c2a162 .: add .gitattributes entry to use Go hunk-header driver 4 anni fa
.gitignore 56dfdbe190 repo: add .vscode/ to .gitignore (#6278) 3 anni fa
ALPINE.txt 88133c361e Docker: add ALPINE.txt to manage alpine versions 3 anni fa
AUTHORS a8d8b8719a Move Linux client & common packages into a public repo. 6 anni fa
CODE_OF_CONDUCT.md 452b81d56b Add a code of conduct. 6 anni fa
Dockerfile 76904b82e7 cmd/containerboot: PID1 for running tailscaled in a container. 3 anni fa
Dockerfile.base cfa484e1a2 Dockerfile: bump alpine to 3.16 3 anni fa
LICENSE bf6205d200 LICENSE: Reformat for Github 5 anni fa
Makefile 42d9e7171c Makefile: add publishdevimage target 3 anni fa
PATENTS a8d8b8719a Move Linux client & common packages into a public repo. 6 anni fa
README.md e1309e1323 all: require Go 1.19 3 anni fa
SECURITY.md e59605595e Add a SECURITY.md for vulnerability reports. 6 anni fa
VERSION.txt 1b9ed9f365 VERSION.txt: this is 1.33. 3 anni fa
api.md 847a8cf917 api.md: make it clearer where to get the tailnet name in API calls 3 anni fa
build_dist.sh c2d7940ec0 cmd/tailscaled, net/tstun: add build tags to omit BIRD and TAP 3 anni fa
build_docker.sh 76904b82e7 cmd/containerboot: PID1 for running tailscaled in a container. 3 anni fa
go.mod 001f482aca net/dns: make "direct" mode on Linux warn on resolv.conf fights 3 anni fa
go.sum 001f482aca net/dns: make "direct" mode on Linux warn on resolv.conf fights 3 anni fa
go.toolchain.branch e5176f572e go.toolchain.rev: switch to Go 1.19rc2+ 3 anni fa
go.toolchain.rev 7714261566 go.toolchain.rev: update to Go 1.19.2 3 anni fa
pull-toolchain.sh 408522ddad go.toolchain.rev: add update script 4 anni fa
shell.nix 527741d41f shell.nix: add graphviz 3 anni fa
staticcheck.conf ece138ffc3 staticcheck.conf: remove unnecessary warning 4 anni fa
version-embed.go 88133c361e Docker: add ALPINE.txt to manage alpine versions 3 anni fa
version_test.go 4bda41e701 Dockerfile: add test that build-env Alpine version matches go.mod 3 anni fa

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 require the latest Go release, currently Go 1.19.

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.