You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Brad Fitzpatrick d784dcc61b go.toolchain.branch: switch to Go 1.26 1 month ago
.bencher bencher: add config to suppress failures on benchmark regressions. 5 years ago
.github go.toolchain.branch: switch to Go 1.26 1 month ago
appc appc,feature/conn25,net: Add DNS response interception for conn25 2 months ago
atomicfile all: remove AUTHORS file and references to it 3 months ago
chirp all: remove AUTHORS file and references to it 3 months ago
client cmd/tailscale,ipn,net/netutil: remove rp_filter strict mode warnings (#18863) 1 month ago
clientupdate clientupdate, cmd/tailscale/cli: support updating to release-candidates (#18632) 2 months ago
cmd go.toolchain.branch: switch to Go 1.26 1 month ago
control net/dns: make MagicDNS IPv6 registration opt-out now, not opt-in 2 months ago
derp all: remove AUTHORS file and references to it 3 months ago
disco all: remove AUTHORS file and references to it 3 months ago
docs all: remove AUTHORS file and references to it 3 months ago
doctor all: remove AUTHORS file and references to it 3 months ago
drive all: remove AUTHORS file and references to it 3 months ago
envknob all: remove AUTHORS file and references to it 3 months ago
feature feature/portlist: address case where poller misses CollectServices updates 1 month ago
gokrazy gokrazy: use monorepo for gokrazy appliance builds (monogok) 2 months ago
health cmd/tailscale,ipn,net/netutil: remove rp_filter strict mode warnings (#18863) 1 month ago
hostinfo hostinfo: retrieve OS version for Macs running the OSS client 3 months ago
internal cmd/tailscale/cli: allow fetching keys from AWS Parameter Store 3 months ago
ipn ipn/ipnlocal: skip writing netmaps to disk when disabled (#18883) 1 month ago
jsondb all: remove AUTHORS file and references to it 3 months ago
k8s-operator cmd/k8s-operator,k8s-operator: define ProxyGroupPolicy reconciler (#18654) 2 months ago
kube cmd/containerboot,kube: enable autoadvertisement of Tailscale services on containerboot (#18527) 2 months ago
licenses licenses: update license notices 2 months ago
log all: remove AUTHORS file and references to it 3 months ago
logpolicy all: remove AUTHORS file and references to it 3 months ago
logtail logtail/filch: fix filch test panic (#18660) 2 months ago
maths all: remove AUTHORS file and references to it 3 months ago
metrics all: remove AUTHORS file and references to it 3 months ago
net net/porttrack: change magic listen address format for Go 1.26 1 month ago
omit all: remove AUTHORS file and references to it 3 months ago
packages/deb all: remove AUTHORS file and references to it 3 months ago
paths all: remove AUTHORS file and references to it 3 months ago
portlist portlist: also tb.Skip benchmarks (not just tests) on bad Linux kernels 2 months ago
posture all: remove AUTHORS file and references to it 3 months ago
prober prober: fix race condition in TestExcludeInRunAll (#18807) 2 months ago
proxymap all: remove AUTHORS file and references to it 3 months ago
release all: remove AUTHORS file and references to it 3 months ago
safesocket all: remove AUTHORS file and references to it 3 months ago
safeweb all: remove AUTHORS file and references to it 3 months ago
scripts scripts/installer.sh: handle KDE Linux (#18861) 2 months ago
sessionrecording all: remove AUTHORS file and references to it 3 months ago
ssh/tailssh ssh/tailssh: fix data race on conn auth state in OnPolicyChange 2 months ago
syncs all: remove AUTHORS file and references to it 3 months ago
tailcfg net/dns: make MagicDNS IPv6 registration opt-out now, not opt-in 2 months ago
tempfork feature/c2n: move answerC2N code + deps out of control/controlclient 6 months ago
tka all: remove AUTHORS file and references to it 3 months ago
tool tool/listpkgs: add --affected-by-tag 2 months ago
tsconsensus tsconsensus: fix race condition in TestOnlyTaggedPeersCanBeDialed 2 months ago
tsconst all: remove AUTHORS file and references to it 3 months ago
tsd wgengine/netstack: add local tailscale service IPs to route and terminate locally (#18461) 3 months ago
tsnet go.toolchain.branch: switch to Go 1.26 1 month ago
tstest go.toolchain.branch: switch to Go 1.26 1 month ago
tstime all: remove AUTHORS file and references to it 3 months ago
tsweb tsweb/varz: remove unnecessary Map.Init() calls in tests 2 months ago
types types/geo: fix floating point bug causing NaN returns in SphericalAngleTo (#18777) 2 months ago
util util/linuxfw,wgengine/router: add connmark rules for rp_filter workaround (#18860) 1 month ago
version go.toolchain.branch: switch to Go 1.26 1 month ago
wf wf: allow limited broadcast to/from permitted interfaces when using an exit node on Windows 3 months ago
wgengine util/linuxfw,wgengine/router: add connmark rules for rp_filter workaround (#18860) 1 month ago
wif all: remove AUTHORS file and references to it 3 months ago
words all: remove AUTHORS file and references to it 3 months ago
.gitattributes .: add .gitattributes entry to use Go hunk-header driver 4 years ago
.gitignore Add .stignore for syncthing (#18540) 3 months ago
.golangci.yml .github: Bump golangci/golangci-lint-action from 6.5.0 to 7.0.0 (#15476) 1 year ago
.stignore Add .stignore for syncthing (#18540) 3 months ago
ALPINE.txt docker: bump alpine v3.19 -> 3.22 (#17155) 7 months ago
CODEOWNERS CODEOWNERS: add the start of an owners file 3 years ago
CODE_OF_CONDUCT.md CODE_OF_CONDUCT.md: update code of conduct 6 months ago
Dockerfile go.toolchain.branch: switch to Go 1.26 1 month ago
Dockerfile.base all: remove AUTHORS file and references to it 3 months ago
LICENSE all: remove AUTHORS file and references to it 3 months ago
Makefile Makefile, cmd/*/depaware.txt: split out vendor packages explicitly 7 months ago
PATENTS Move Linux client & common packages into a public repo. 6 years ago
README.md README: update the version of Go in the README 7 months ago
SECURITY.md Add a SECURITY.md for vulnerability reports. 6 years ago
VERSION.txt VERSION.txt: this is v1.95.0 (#18414) 3 months ago
api.md {api.md,publicapi}: remove old API docs (#13468) 2 years ago
assert_ts_toolchain_match.go .: permit running binary built with TS_GO_NEXT=1 2 months ago
build_dist.sh build_dist.sh: keep --extra-small making a usable build, add --min 6 months ago
build_docker.sh build_docker.sh: support including extra files (#17405) 7 months ago
flake.lock .github/Makefile/flake: update nix flake support (#16636) 8 months ago
flake.nix go.toolchain.branch: switch to Go 1.26 1 month ago
go.mod go.toolchain.branch: switch to Go 1.26 1 month ago
go.mod.sri go.mod: bump github.com/cloudflare/circl version (#18878) 1 month ago
go.sum go.mod: bump github.com/cloudflare/circl version (#18878) 1 month ago
go.toolchain.branch go.toolchain.branch: switch to Go 1.26 1 month ago
go.toolchain.next.branch tool/gocross, pull-toolchain.sh: support a "next" Go toolchain 3 months ago
go.toolchain.next.rev go.toolchain.next.rev: update to final Go 1.26.0 [next] 2 months ago
go.toolchain.rev go.toolchain.branch: switch to Go 1.26 1 month ago
go.toolchain.rev.sri go.toolchain.branch: switch to Go 1.26 1 month ago
go.toolchain.version go.toolchain.branch: switch to Go 1.26 1 month ago
gomod_test.go all: remove AUTHORS file and references to it 3 months ago
header.txt all: remove AUTHORS file and references to it 3 months ago
license_test.go all: remove AUTHORS file and references to it 3 months ago
pkgdoc_test.go gokrazy: use monorepo for gokrazy appliance builds (monogok) 2 months ago
pull-toolchain.sh go.toolchain.{rev,next.rev}: update to Go 1.25.7 / Go 1.26rc3 (#18633) 2 months ago
shell.nix go.mod: bump github.com/cloudflare/circl version (#18878) 1 month ago
staticcheck.conf all: cleanup unused code, part 2 (#10670) 2 years ago
update-flake.sh flake.nix: update Nix to use tailscale/go 1.25.2 (#17500) 6 months ago
version-embed.go cmd/printdep: add --next flag to use rc Go build hash instead 3 months ago
version_tailscale_test.go all: remove AUTHORS file and references to it 3 months ago
version_test.go all: remove AUTHORS file and references to it 3 months ago

README.md

Tailscale

https://tailscale.com

Private WireGuard® networks made easy

Overview

This repository contains the majority of Tailscale's open source code. Notably, it includes the tailscaled daemon and the tailscale CLI tool. The tailscaled daemon runs on Linux, Windows, macOS, and to varying degrees on FreeBSD and OpenBSD. The Tailscale iOS and Android apps use this repo's code, but this repo doesn't contain the mobile GUI code.

Other Tailscale repos of note:

For background on which parts of Tailscale are open source and why, see https://tailscale.com/opensource/.

Using

We serve packages for a variety of distros and platforms 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. The GUI wrappers on non-open source platforms are themselves not open source.

Building

We always require the latest Go release, currently Go 1.25. (While we build releases with our Go fork, its use is not required.)

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.

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 commit-messages.md (or skim git log) for our commit message style.

About Us

Tailscale is primarily developed by the people at https://github.com/orgs/tailscale/people. For other contributors, see:

WireGuard is a registered trademark of Jason A. Donenfeld.