The easiest, most secure way to use WireGuard and 2FA.
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 92dfaf53bb cmd/tailscaled: include Go runtime metrics in /debug/metrics 3 hours ago
.bencher bencher: add config to suppress failures on benchmark regressions. 4 months ago
.github .github: Bump actions/setup-go from 2.1.4 to 2.1.5 1 week ago
atomicfile atomicfile: don't Chmod on windows 2 years ago
chirp wgengine/userspace: add support to automatically enable/disable the tailscale 5 months ago
client/tailscale cmd/tailscale: add debug restun, rebind subcommands 3 weeks ago
cmd cmd/tailscaled: include Go runtime metrics in /debug/metrics 3 hours ago
control control/controlhttp: package to get a controlbase.Conn over HTTP(S). 3 days ago
derp derp: add metrics to server got pings, sent pongs 2 weeks ago
disco types/key: export constants for key size, not a method. 3 months ago
docs fix minor typo 2 months ago
health net/dns/resolver: add debug HTML handler to see what DNS traffic was forwarded 4 weeks ago
hostinfo hostinfo: report when running in Docker Desktop. 2 months ago
internal/tooldeps util/deephash: move internal/deephash to util/deephash 7 months ago
ipn ipn/ipnserver: provide means of setting debug env vars on Windows 1 week ago
kube ipn/store: add ability to store data as k8s secrets. 5 months ago
log log/filelogger: make filelogger remove redundant date before adding a date 2 months ago
logpolicy logpolicy, ipn/ipnserver: connect to logtail via tailscaled when needed 1 month ago
logtail logtail: cap the buffer size in encodeText 7 days ago
metrics all: use testingutil.MinAllocsPerRun 3 months ago
net net/dns/resolvd: store nameservers 16 hours ago
packages/deb packages/deb: add package to extract metadata from .deb files. 8 months ago
paths all: gofmt -w -s (simplify) tests 1 month ago
portlist all: gofmt -w -s (simplify) tests 1 month ago
safesocket safesocket: add ConnectionStrategy, provide control over fallbacks 1 month ago
scripts control/controlbase: rename from control/noise. 3 days ago
smallzstd smallzstd: new package that constructs zstd small encoders/decoders. 2 years ago
syncs syncs: mark as safe for Go 1.18 3 months ago
tailcfg tailcfg: no-op bump of MapRequest.Version 1 week ago
tempfork/pprof tempfork/wireguard-windows: remove the old windows firewall code now that we are no 5 months ago
tool tool/go: add wrapper to download and use go.toolchain.rev go version. 2 weeks ago
tsconst net/interfaces/windows: update Tailscale interface detection logic to 2 months ago
tsnet tsnet: add Start method to allow connecting to the tailnet without 2 weeks ago
tstest cmd/tailscaled: include Go runtime metrics in /debug/metrics 3 hours ago
tstime tstime/rate: deflake TestLongRunningQPS 7 days ago
tsweb all: fix spelling mistakes 3 months ago
types types/logger: add Context and related helpers 2 months ago
util all: gofmt -w -s (simplify) tests 1 month ago
version version: bump date 2 weeks ago
wf all: gofmt -w -s (simplify) tests 1 month ago
wgengine wgengine/netstack: clear TCP ECN bits before giving to gvisor 17 hours ago
words words: remove two plurals, one with a typo 4 months ago
.gitattributes .: add .gitattributes entry to use Go hunk-header driver 2 months ago
.gitignore Revert "cmd/tailscaled: split package main into main shim + package" 10 months ago
AUTHORS Move Linux client & common packages into a public repo. 2 years ago
CODE_OF_CONDUCT.md Add a code of conduct. 2 years ago
Dockerfile Dockerfile: remove long-obsolete -tags=xversion 1 month ago
Dockerfile.base Dockerfile.base: update to alpine:3.15 2 weeks ago
LICENSE LICENSE: Reformat for Github 1 year ago
Makefile Makefile: add spk and pushspk targets for iterative Synology development 2 months ago
PATENTS Move Linux client & common packages into a public repo. 2 years ago
README.md README.md: update platforms 1 month ago
SECURITY.md Add a SECURITY.md for vulnerability reports. 2 years ago
VERSION.txt VERSION.txt: This is 1.21. 1 week ago
api.md api: document API endpoint to manipulate keys (#3544) 1 month ago
build_dist.sh tool/go: add wrapper to download and use go.toolchain.rev go version. 2 weeks ago
build_docker.sh tool/go: add wrapper to download and use go.toolchain.rev go version. 2 weeks ago
go.mod net/dnscache, net/tsdial: add DNS caching to tsdial UserDial 1 month ago
go.sum net/dnscache, net/tsdial: add DNS caching to tsdial UserDial 1 month ago
go.toolchain.branch go.toolchain.rev: add update script 1 week ago
go.toolchain.rev go.toolchain.rev: pick up new bufio.Writer API for Go1.18 (#3768) 1 day ago
pull-toolchain.sh go.toolchain.rev: add update script 1 week ago
shell.nix add nix-shell boilerplate (#1028) 1 year ago
staticcheck.conf staticcheck.conf: remove unnecessary warning 7 months ago
version-embed.go go.toolchain.rev: add Go toolchain rev, tool to print it out 2 weeks ago

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:

WireGuard is a registered trademark of Jason A. Donenfeld.