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

Maisem Ali 431329e47c build_docker.sh: add env overrides il y a 4 ans
.bencher babd163aac bencher: add config to suppress failures on benchmark regressions. il y a 4 ans
.github 9f867ad2c5 .github/dependabot.yml: disable eager updates for Go. il y a 4 ans
atomicfile df674d4189 atomicfile: don't Chmod on windows il y a 5 ans
chirp fd4838dc57 wgengine/userspace: add support to automatically enable/disable the tailscale il y a 4 ans
client 96cab21383 cmd/tailscale: add debug restun, rebind subcommands il y a 4 ans
cmd 7d9b1de3aa netcheck,portmapper,magicsock: ignore some UDP write errors on Linux il y a 4 ans
control 25eab78573 control/noise: clean up resources in TestNoReuse il y a 4 ans
derp 2c94e3c4ad wgengine/magicsock: don't unconditionally close DERP connections on rebind il y a 4 ans
disco 84c3a09a8d types/key: export constants for key size, not a method. il y a 4 ans
docs 9fa6cdf7bf fix minor typo il y a 4 ans
health 0aa4c6f147 net/dns/resolver: add debug HTML handler to see what DNS traffic was forwarded il y a 4 ans
hostinfo 1ea270375a hostinfo: report when running in Docker Desktop. il y a 4 ans
internal 700badd8f8 util/deephash: move internal/deephash to util/deephash il y a 4 ans
ipn b09000ad5d ipn/localapi: add debug handler to Rebind, ReSTUN magicsock il y a 4 ans
kube 0842e2f45b ipn/store: add ability to store data as k8s secrets. il y a 4 ans
log 49a3fcae78 log/filelogger: make filelogger remove redundant date before adding a date il y a 4 ans
logpolicy 3dedcd1640 logpolicy, ipn/ipnserver: connect to logtail via tailscaled when needed il y a 4 ans
logtail 40e2b312b6 ipn/ipnserver, logpolicy: move Windows disk logging up earlier il y a 4 ans
metrics 94fb42d4b2 all: use testingutil.MinAllocsPerRun il y a 4 ans
net 7d9b1de3aa netcheck,portmapper,magicsock: ignore some UDP write errors on Linux il y a 4 ans
packages 8236464252 packages/deb: add package to extract metadata from .deb files. il y a 4 ans
paths 486059589b all: gofmt -w -s (simplify) tests il y a 4 ans
portlist 486059589b all: gofmt -w -s (simplify) tests il y a 4 ans
safesocket 63cd581c3f safesocket: add ConnectionStrategy, provide control over fallbacks il y a 4 ans
scripts 894693f352 scripts/installer.sh fix APT_SYSTEMCTL_START error il y a 4 ans
smallzstd 9cd4e65191 smallzstd: new package that constructs zstd small encoders/decoders. il y a 5 ans
syncs cf8fcc1254 syncs: mark as safe for Go 1.18 il y a 4 ans
tailcfg bc537adb1a tailcfg: add Hostinfo.HowUnequal method il y a 4 ans
tempfork baf8854f9a tempfork/wireguard-windows: remove the old windows firewall code now that we are no il y a 4 ans
tsconst eccc2ac6ee net/interfaces/windows: update Tailscale interface detection logic to il y a 4 ans
tsnet 44937b59e7 tsnet: add Dial method to allow dialing out to the tailnet. il y a 4 ans
tstest 681d4897cc tstest/integration: remove t param in testNode methods il y a 4 ans
tstime 0daa32943e all: add (*testing.B).ReportAllocs() to every benchmark il y a 4 ans
tsweb f01ff18b6f all: fix spelling mistakes il y a 4 ans
types deb2f5e793 types/logger: add Context and related helpers il y a 4 ans
util 486059589b all: gofmt -w -s (simplify) tests il y a 4 ans
version 3dedcd1640 logpolicy, ipn/ipnserver: connect to logtail via tailscaled when needed il y a 4 ans
wf 486059589b all: gofmt -w -s (simplify) tests il y a 4 ans
wgengine 7d9b1de3aa netcheck,portmapper,magicsock: ignore some UDP write errors on Linux il y a 4 ans
words de63e85810 words: remove two plurals, one with a typo il y a 4 ans
.gitattributes 1813c2a162 .: add .gitattributes entry to use Go hunk-header driver il y a 4 ans
.gitignore dad10fee9c Revert "cmd/tailscaled: split package main into main shim + package" il y a 5 ans
AUTHORS a8d8b8719a Move Linux client & common packages into a public repo. il y a 6 ans
CODE_OF_CONDUCT.md 452b81d56b Add a code of conduct. il y a 6 ans
Dockerfile 81bc812402 Dockerfile: remove long-obsolete -tags=xversion il y a 4 ans
Dockerfile.base 9feb483ad3 build_docker.sh: use github.com/tailscale/mkctr instead of docker il y a 4 ans
LICENSE bf6205d200 LICENSE: Reformat for Github il y a 5 ans
Makefile c0984f88dc Makefile: add spk and pushspk targets for iterative Synology development il y a 4 ans
PATENTS a8d8b8719a Move Linux client & common packages into a public repo. il y a 6 ans
README.md 0f3b55c299 README.md: update platforms il y a 4 ans
SECURITY.md e59605595e Add a SECURITY.md for vulnerability reports. il y a 6 ans
VERSION.txt 9fc4e876e3 VERSION.txt: this is v1.19.0 il y a 4 ans
api.md 66164b9307 api: document API endpoint to manipulate keys (#3544) il y a 4 ans
build_dist.sh 9feb483ad3 build_docker.sh: use github.com/tailscale/mkctr instead of docker il y a 4 ans
build_docker.sh 431329e47c build_docker.sh: add env overrides il y a 4 ans
go.mod 39ffa16853 net/dnscache, net/tsdial: add DNS caching to tsdial UserDial il y a 4 ans
go.sum 39ffa16853 net/dnscache, net/tsdial: add DNS caching to tsdial UserDial il y a 4 ans
shell.nix 70f14af21e add nix-shell boilerplate (#1028) il y a 5 ans
staticcheck.conf ece138ffc3 staticcheck.conf: remove unnecessary warning il y a 4 ans
version-embed.go 31e4f60047 version: embed VERSION.txt in unstamped version il y a 4 ans

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.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.