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.
 
 
 
 
 
 
Codinget 68ecc4b033 feat(tsconnect): add notifyFilesWaiting and notifyIncomingFiles callbacks 3 days ago
.bencher bencher: add config to suppress failures on benchmark regressions. 5 years ago
.github tool: replace go.cmd with a 19KB Rust go.exe wrapper 1 week ago
appc appc,feature/conn25: conn25: send address assignments to connector 1 month 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 client/web: fix nil metricCapture crash in mockLocalAPI 2 weeks ago
clientupdate cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
cmd feat(tsconnect): add notifyFilesWaiting and notifyIncomingFiles callbacks 3 days ago
control control/controlclient: avoid calls to ms.netmap() (#19281) 1 week ago
derp derp: align FrameType docs casing 1 week ago
disco disco: remove experimental label from BindUDPRelayHandshakeState 3 weeks ago
docs misc: add install-git-hooks.go and git hook for Change-Id tracking 1 week ago
doctor all: remove AUTHORS file and references to it 3 months ago
drive cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
envknob wgengine/magicsock: assume network up for tests 2 weeks ago
feature feat(taildrop): fix DirectFileMode, void callbacks, and empty WaitingFiles 4 days ago
gokrazy gokrazy: fix busybox breakglass support, add test 1 month ago
health cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
hostinfo all: use Go 1.26 things, run most gofix modernizers 1 month ago
internal cmd/tailscale/cli: allow fetching keys from AWS Parameter Store 3 months ago
ipn ipn/ipnlocal: add netmap mutations to the ipn bus (#19120) 1 week ago
jsondb all: remove AUTHORS file and references to it 3 months ago
k8s-operator cmd/k8s-operator: migrate to tailscale-client-go-v2 (#19010) 1 week ago
kube kube/certs: discover TLS domains from TCP TerminateTLS handlers (#19020) 1 month ago
licenses licenses: update license notices 1 week ago
log cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
logpolicy all: remove AUTHORS file and references to it 3 months ago
logtail all: use Go 1.26 things, run most gofix modernizers 1 month ago
maths all: remove AUTHORS file and references to it 3 months ago
metrics all: use Go 1.26 things, run most gofix modernizers 1 month ago
misc misc: add install-git-hooks.go and git hook for Change-Id tracking 1 week ago
net tsd, all: add Sys.ExtraRootCAs, plumb through TLS dial paths 1 week 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 all: use Go 1.26 things, run most gofix modernizers 1 month ago
proxymap all: remove AUTHORS file and references to it 3 months ago
release release/dist/unixpkgs: include tailscale-online.target in packages 3 weeks ago
safesocket safesocket, ipn/ipnserver: use PeerCreds on solaris and illumos 4 weeks ago
safeweb safeweb: add CSRF token helpers and set cookie path to root (#19265) 2 weeks ago
scripts scripts/installer.sh: handle KDE Linux (#18861) 2 months ago
sessionrecording cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
ssh/tailssh ssh/tailssh: fix default PATH for Debian 1 week ago
syncs cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
tailcfg tailcfg: fix ClientVersion.UrgentSecurityUpdate doc comment (#19214) 2 weeks ago
tempfork tempfork/gliderlabs/ssh: remove tempfork 1 week ago
tka tka: improve logging for Compact and Commit operations 1 week ago
tool tool/goexe: refactor to use windows_sys 1 week ago
tsconsensus cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
tsconst all: remove AUTHORS file and references to it 3 months ago
tsd tsd, all: add Sys.ExtraRootCAs, plumb through TLS dial paths 1 week ago
tsnet tsd, all: add Sys.ExtraRootCAs, plumb through TLS dial paths 1 week ago
tstest tstest/natlab: add TestSubnetRouterFreeBSD with FreeBSD cloud image support 1 week ago
tstime all: remove AUTHORS file and references to it 3 months ago
tsweb tsweb: add TS_DEBUG_TRUSTED_CIDRS envknob to debug (#19283) 1 week ago
types feature/conn25: add IPv6 support 1 week ago
util ipn/localapi, cli, clientmetric: add ipnbus feature tag; fix omit.go stub 1 week ago
version version: parse Void Linux version strings 2 weeks ago
wf wf: allow limited broadcast to/from permitted interfaces when using an exit node on Windows 3 months ago
wgengine feat(tsconnect): expose dial, listen and listenICMP to JS 1 week ago
wif wif: add AWS ecs for autogenerated OIDC tokens 3 weeks ago
words Add 'fish' to the list of scales 3 weeks 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 .golangci.yml: enforce gliderssh import alias via importas linter 1 week 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 (#19168) 3 weeks ago
SECURITY.md Add a SECURITY.md for vulnerability reports. 6 years ago
VERSION.txt VERSION.txt: this is v1.97.0 (#18898) 1 month 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 docker: add riscv64 to container image architectures 3 weeks ago
flake.lock nix: update flakes to get a nixpkgs version with go 1.26 1 month ago
flake.nix cmd/k8s-operator: migrate to tailscale-client-go-v2 (#19010) 1 week ago
go.mod tstest/natlab: add TestSubnetRouterFreeBSD with FreeBSD cloud image support 1 week ago
go.mod.sri cmd/k8s-operator: migrate to tailscale-client-go-v2 (#19010) 1 week ago
go.sum cmd/k8s-operator: migrate to tailscale-client-go-v2 (#19010) 1 week 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.rev: update to Go 1.26.2 1 week ago
go.toolchain.rev go.toolchain.rev: update to Go 1.26.2 1 week ago
go.toolchain.rev.sri go.toolchain.rev: update to Go 1.26.2 1 week ago
go.toolchain.version go.toolchain.rev: update to Go 1.26.2 1 week 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 pull-toolchain.sh: advance the next hash if it's behind 1 month ago
shell.nix cmd/k8s-operator: migrate to tailscale-client-go-v2 (#19010) 1 week 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.26. (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.