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

David Anderson c0fcab01ac client/tailscale: fix request object for key creation. пре 3 година
.bencher babd163aac bencher: add config to suppress failures on benchmark regressions. пре 4 година
.github 9c67395334 feat(build): add support on Loongnix-Server (loong64) (#6233) пре 3 година
atomicfile f0347e841f refactor: move from io/ioutil to io and os packages пре 3 година
chirp d4811f11a0 all: fix spelling mistakes пре 3 година
client c0fcab01ac client/tailscale: fix request object for key creation. пре 3 година
cmd 9c77205ba1 cmd/k8s-operator: add more tests for "normal" paths. пре 3 година
control 197a4f1ae8 types/ptr: move all the ptrTo funcs to one new package's ptr.To пре 3 година
derp 6cc6c70d70 derp: prevent concurrent access to multiForwarder map пре 3 година
disco 33520920c3 all: use strs.CutPrefix and strs.CutSuffix more пре 3 година
docs a6dff4fb74 docs/webhooks: use subtle.ConstantTimeCompare for comparing signatures пре 3 година
doctor b1867457a6 doctor: add package for running in-depth healthchecks; use in bugreport (#5413) пре 3 година
envknob 0cb2ccce7f safesocket: remove the IPN protocol support пре 3 година
health 659e7837c6 health, ipn/ipnlocal: when -no-logs-no-support is enabled, deny access to tailnets that have network logging enabled пре 3 година
hostinfo 197a4f1ae8 types/ptr: move all the ptrTo funcs to one new package's ptr.To пре 3 година
internal da8def8e13 all: remove old +build tags пре 3 година
ipn bd2995c14b ipn/ipnlocal: simplify redactErr (#6716) пре 3 година
jsondb 96afd1db46 jsondb: small package to load/save JSON DBs. пре 3 година
kube af966391c7 kube: handle 201 as a valid status code. пре 3 година
licenses ab4992e10d licenses: update win/apple licenses пре 3 година
log da8def8e13 all: remove old +build tags пре 3 година
logpolicy d4811f11a0 all: fix spelling mistakes пре 3 година
logtail 35c10373b5 types/logid: move logtail ID types here (#6336) пре 3 година
metrics db2cc393af util/dirwalk, metrics, portlist: add new package for fast directory walking пре 3 година
net 3f4d51c588 net/dns: don't send on closed channel when message too large пре 3 година
packages f0347e841f refactor: move from io/ioutil to io and os packages пре 3 година
paths 7c4d017636 paths: set QNAP socket to /tmp. пре 3 година
portlist b5299d7d0e portlist: wait for lsof cmd to exit пре 3 година
prober 06b55ab50f prober: fix test flake пре 3 година
safesocket adc302f428 all: use named pipes on windows пре 3 година
scripts 446057d613 scripts/installer.sh: add Nobara Linux. пре 3 година
smallzstd f0347e841f refactor: move from io/ioutil to io and os packages пре 3 година
ssh 2d653230ef ssh/tailssh: only call CloseWrite when both stdout and stderr are done пре 3 година
syncs 9a05cdd2b5 syncs: add Map (#6260) пре 3 година
tailcfg f1ab11e961 ipn/ipnlocal,tailcfg: introduce capability to gate TKA init paths пре 3 година
tempfork da8def8e13 all: remove old +build tags пре 3 година
tka 45042a76cd cmd/tailscale,ipn: store disallowed TKA's in prefs, lock local-disable пре 3 година
tool d60f7fe33f cmd/tsconnect: run wasm-opt on the generated wasm file пре 3 година
tsconst eccc2ac6ee net/interfaces/windows: update Tailscale interface detection logic to пре 4 година
tsnet ea5ee6f87c all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) пре 3 година
tstest ea5ee6f87c all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) пре 3 година
tstime ec1e67b1ab tstime: fix ParseDuration for '6' digit (#6363) пре 3 година
tsweb f053f16460 tsweb: export version metrics to Prometheus пре 3 година
types ea5ee6f87c all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) пре 3 година
util ca08e316af util/endian: delete package; use updated josharian/native instead пре 3 година
version b9dd3fa534 paths, version/distro: detect Synology DSM version better, use for socket path пре 3 година
wf da8def8e13 all: remove old +build tags пре 3 година
wgengine 44be59c15a wgengine/magicsock: fix panic in wireguard-go rate limiting path пре 3 година
words d6021ae71c words: hybrid theory (#6404) пре 3 година
.gitattributes 1813c2a162 .: add .gitattributes entry to use Go hunk-header driver пре 4 година
.gitignore e567902aa9 gitignore: ignore direnv nix-shell environment cache (#6520) пре 3 година
ALPINE.txt 88133c361e Docker: add ALPINE.txt to manage alpine versions пре 3 година
AUTHORS a8d8b8719a Move Linux client & common packages into a public repo. пре 6 година
CODE_OF_CONDUCT.md 452b81d56b Add a code of conduct. пре 6 година
Dockerfile 76904b82e7 cmd/containerboot: PID1 for running tailscaled in a container. пре 3 година
Dockerfile.base cfa484e1a2 Dockerfile: bump alpine to 3.16 пре 3 година
LICENSE bf6205d200 LICENSE: Reformat for Github пре 5 година
Makefile d81a2b2ce2 Makefile: add a target for doing dev builds of the k8s operator. пре 3 година
PATENTS a8d8b8719a Move Linux client & common packages into a public repo. пре 6 година
README.md 256ba62e00 README.md: add commit message style bit пре 3 година
SECURITY.md e59605595e Add a SECURITY.md for vulnerability reports. пре 6 година
VERSION.txt c933b8882c VERSION.txt: this is v1.35.0 пре 3 година
api.md 3f16dec1bb api.md: change "admin panel" to "admin console" пре 3 година
build_dist.sh c2d7940ec0 cmd/tailscaled, net/tstun: add build tags to omit BIRD and TAP пре 3 година
build_docker.sh d81a2b2ce2 Makefile: add a target for doing dev builds of the k8s operator. пре 3 година
go.mod bc8f5a7734 cmd/k8s-operator: add a basic unit test. пре 3 година
go.sum bc8f5a7734 cmd/k8s-operator: add a basic unit test. пре 3 година
go.toolchain.branch e5176f572e go.toolchain.rev: switch to Go 1.19rc2+ пре 3 година
go.toolchain.rev 7714261566 go.toolchain.rev: update to Go 1.19.2 пре 3 година
pull-toolchain.sh 408522ddad go.toolchain.rev: add update script пре 4 година
shell.nix 527741d41f shell.nix: add graphviz пре 3 година
staticcheck.conf ece138ffc3 staticcheck.conf: remove unnecessary warning пре 4 година
version-embed.go 88133c361e Docker: add ALPINE.txt to manage alpine versions пре 3 година
version_test.go 4bda41e701 Dockerfile: add test that build-env Alpine version matches go.mod пре 3 година

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.

See git log for our commit message style. It's basically the same as Go's style.

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.