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

Brad Fitzpatrick d5851d2e06 cmd/derper: fix real staticcheck failure from prior commit 4 năm trước cách đây
.github ec2b7c7da6 all: bump minimum Go to 1.17 4 năm trước cách đây
atomicfile df674d4189 atomicfile: don't Chmod on windows 5 năm trước cách đây
chirp fd4838dc57 wgengine/userspace: add support to automatically enable/disable the tailscale 4 năm trước cách đây
client 3c8ca4b357 client/tailscale, cmd/tailscale/cli: move version mismatch check to CLI 4 năm trước cách đây
cmd d5851d2e06 cmd/derper: fix real staticcheck failure from prior commit 4 năm trước cách đây
control 980acc38ba types/key: add a special key with custom serialization for control private keys (#2792) 4 năm trước cách đây
derp fc160f80ee metrics: move currentFDs code to the metrics package 4 năm trước cách đây
disco a5da4ed981 all: gofmt with Go 1.17 4 năm trước cách đây
docs 0842e2f45b ipn/store: add ability to store data as k8s secrets. 4 năm trước cách đây
health 5bacbf3744 wgengine/magicsock, health, ipn/ipnstate: track DERP-advertised health 4 năm trước cách đây
hostinfo 1d1efbb599 hostinfo: add FreeBSD support. 4 năm trước cách đây
internal 700badd8f8 util/deephash: move internal/deephash to util/deephash 4 năm trước cách đây
ipn 640134421e all: update tests to use tstest.MemLogger 4 năm trước cách đây
kube 0842e2f45b ipn/store: add ability to store data as k8s secrets. 4 năm trước cách đây
log 420838f90e log/filelogger: move our Windows disk file writing+rotation package here 5 năm trước cách đây
logpolicy eab80e3877 logpolicy: only log panics when running under systemd 4 năm trước cách đây
logtail 0c038b477f logtail: add a re-usable buffer for uploads 4 năm trước cách đây
metrics d1cb7a2639 metrics: use SYS_OPENAT 4 năm trước cách đây
net 12dc7c2df8 net/interfaces: remove stray C header file 4 năm trước cách đây
packages 8236464252 packages/deb: add package to extract metadata from .deb files. 4 năm trước cách đây
paths a5da4ed981 all: gofmt with Go 1.17 4 năm trước cách đây
portlist bf8556ab86 portlist: fix build tag to build only on macOS, not macOS+iOS. 4 năm trước cách đây
safesocket 21cb0b361f safesocket: add connect retry loop to wait for tailscaled 4 năm trước cách đây
scripts 4d19db7c9f scripts/installer: work on Oracle Linux (#2604) 4 năm trước cách đây
smallzstd 9cd4e65191 smallzstd: new package that constructs zstd small encoders/decoders. 5 năm trước cách đây
syncs d2aa144dcc syncs: bump known good version to include Go 1.17 4 năm trước cách đây
tailcfg 980acc38ba types/key: add a special key with custom serialization for control private keys (#2792) 4 năm trước cách đây
tempfork baf8854f9a tempfork/wireguard-windows: remove the old windows firewall code now that we are no 4 năm trước cách đây
tsconst 8f5b52e571 net/netns: add windows support. 5 năm trước cách đây
tsnet fb8b821710 tsnet: fix typo in comment 4 năm trước cách đây
tstest 640134421e all: update tests to use tstest.MemLogger 4 năm trước cách đây
tstime 0daa32943e all: add (*testing.B).ReportAllocs() to every benchmark 4 năm trước cách đây
tsweb 722942dd46 tsweb: restore CPU profiling handler 4 năm trước cách đây
types 9502b515f1 net/dns: replace resolver IPs with type for DoH 4 năm trước cách đây
util bb10443edf wgengine/wgcfg: use just the hexlified node key as the WireGuard endpoint. 4 năm trước cách đây
version cf855e8988 version: bump date 4 năm trước cách đây
wf 2919b3e3e6 wf: loopback condition should use MatchTypeFlagsAllSet. 4 năm trước cách đây
wgengine 2238814b99 wgengine/magicsock: fix crash introduced in recent cleanups 4 năm trước cách đây
words de63e85810 words: remove two plurals, one with a typo 4 năm trước cách đây
.gitattributes bec17d05cb .gitattributes: add a smudge filter for go.mod. 6 năm trước cách đây
.gitignore dad10fee9c Revert "cmd/tailscaled: split package main into main shim + package" 5 năm trước cách đây
AUTHORS a8d8b8719a Move Linux client & common packages into a public repo. 6 năm trước cách đây
CODE_OF_CONDUCT.md 452b81d56b Add a code of conduct. 6 năm trước cách đây
Dockerfile ec2b7c7da6 all: bump minimum Go to 1.17 4 năm trước cách đây
LICENSE bf6205d200 LICENSE: Reformat for Github 5 năm trước cách đây
Makefile af30897f0d Makefile: add a linux/arm check 4 năm trước cách đây
PATENTS a8d8b8719a Move Linux client & common packages into a public repo. 6 năm trước cách đây
README.md ec2b7c7da6 all: bump minimum Go to 1.17 4 năm trước cách đây
SECURITY.md e59605595e Add a SECURITY.md for vulnerability reports. 6 năm trước cách đây
VERSION.txt 780e65a613 VERSION.txt: new unstable v1.15.0 4 năm trước cách đây
api.md 5d3427021b Minor corrections to the API documentation 4 năm trước cách đây
build_dist.sh dfb1385fcc build_dist.sh: add a command to output the shell vars. 4 năm trước cách đây
build_docker.sh 9288e0d61c build_docker.sh: use build_dist.sh to inject version information 4 năm trước cách đây
go.mod b2a3d1da13 tstest/integration/vms: use fork of goexpect to avoid proto/grpc dep 4 năm trước cách đây
go.sum b2a3d1da13 tstest/integration/vms: use fork of goexpect to avoid proto/grpc dep 4 năm trước cách đây
shell.nix 70f14af21e add nix-shell boilerplate (#1028) 5 năm trước cách đây
staticcheck.conf ece138ffc3 staticcheck.conf: remove unnecessary warning 4 năm trước cách đây

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.