tailscale.comtailscale.com/cmd Directories

cmd/ directory

Directories

PathSynopsis
cmd/addlicenseProgram addlicense adds a license header to a file.
cmd/build-webclientThe build-webclient tool generates the static resources needed for the web client (code at client/web).
cmd/checkmetricscheckmetrics validates that all metrics in the tailscale client-metrics are documented in a given path or URL.
cmd/clonerCloner is a tool to automate the creation of a Clone method.
cmd/cloner/clonerexPackage clonerex is an example package for the cloner tool.
cmd/connector-genconnector-gen is a tool to generate app connector configuration and flags from service provider address data.
cmd/containerbootThe containerboot binary is a wrapper for starting tailscaled in a container.
cmd/derperThe derper binary is a simple DERP server.
cmd/derpprobeThe derpprobe binary probes derpers.
cmd/distThe dist command builds Tailscale release packages for distribution.
cmd/get-authkeyget-authkey allocates an authkey using an OAuth API client https://tailscale.com/s/oauth-clients and prints it to stdout for scripts to capture and use.
cmd/gitops-pusherCommand gitops-pusher allows users to use a GitOps flow for managing Tailscale ACLs.
cmd/helloThe hello binary runs hello.ts.net.
cmd/k8s-nameserverk8s-nameserver is a simple nameserver implementation meant to be used with k8s-operator to allow to resolve magicDNS names associated with tailnet proxies in cluster.
cmd/k8s-operatortailscale-operator provides a way to expose services running in a Kubernetes cluster to your Tailnet.
cmd/k8s-operator/e2e
cmd/k8s-operator/generateThe generate command creates tailscale.com CRDs.
cmd/mkmanifestThe mkmanifest command is a simple helper utility to create a '.syso' file that contains a Windows manifest file.
cmd/mkpkgmkpkg builds the Tailscale rpm and deb packages.
cmd/mkversionmkversion gets version info from git and outputs a bunch of shell variables that get used elsewhere in the build system to embed version numbers into binaries.
cmd/nardumpnardump is like nix-store --dump, but in Go, writing a NAR file (tar-like, but focused on being reproducible) to stdout or to a hash with the --sri flag.
cmd/natcThe natc command is a work-in-progress implementation of a NAT based connector for Tailscale.
cmd/netlogfmtnetlogfmt parses a stream of JSON log messages from stdin and formats the network traffic logs produced by "tailscale.com/wgengine/netlog" according to the schema in "tailscale.com/types/netlogtype.Message" in a more humanly readable format.
cmd/nginx-authCommand nginx-auth is a tool that allows users to use Tailscale Whois authentication with NGINX as a reverse proxy.
cmd/pgproxyThe pgproxy server is a proxy for the Postgres wire protocol.
cmd/printdepThe printdep command is a build system tool for printing out information about dependencies.
cmd/proxy-to-grafanaproxy-to-grafana is a reverse proxy which identifies users based on their originating Tailscale identity and maps them to corresponding Grafana users, creating them if needed.
cmd/sniproxyThe sniproxy is an outbound SNI proxy.
cmd/speedtestExample usage for client command: go run cmd/speedtest -host 127.0.0.1:20333 -t 5s This will connect to the server on 127.0.0.1:20333 and start a 5 second download speedtest.
cmd/ssh-auth-none-demossh-auth-none-demo is a demo SSH server that's meant to run on the public internet (at 188.166.70.128 port 2222) and highlight the unique parts of the Tailscale SSH server so SSH client authors can hit it easily and fix their SSH clients without needing to set up Tailscale and Tailscale SSH.
cmd/stuncCommand stunc makes a STUN request to a STUN server and prints the result.
cmd/stundThe stund binary is a standalone STUN server.
cmd/stunstampThe stunstamp binary measures round-trip latency with DERPs.
cmd/sync-containersThe sync-containers command synchronizes container image tags from one registry to another.
cmd/systraysystray is a minimal Tailscale systray application.
cmd/tailscaleThe tailscale command is the Tailscale command-line client.
cmd/tailscale/cliPackage cli contains the cmd/tailscale CLI code in a package that can be included in other wrapper binaries such as the Mac and Windows clients.
cmd/tailscale/cli/ffcompletePackage ffcomplete provides shell tab-completion of subcommands, flags and arguments for Go programs written with ffcli.
cmd/tailscale/cli/ffcomplete/internalPackage internal contains internal code for the ffcomplete package.
cmd/tailscaledThe tailscaled program is the Tailscale client daemon.
cmd/tailscaled/childprocPackage childproc allows other packages to register "tailscaled be-child" child process hook code.
cmd/testcontrolProgram testcontrol runs a simple test control server.
cmd/testwrappertestwrapper is a wrapper for retrying flaky tests.
cmd/testwrapper/flakytestPackage flakytest contains test helpers for marking a test as flaky.
cmd/tl-longchainProgram tl-longchain prints commands to re-sign Tailscale nodes that have long rotation signature chains.
cmd/tsconnectThe tsconnect command builds and serves the static site that is generated for the Tailscale Connect JS/WASM client.
cmd/tsidpThe tsidp command is an OpenID Connect Identity Provider server.
cmd/ttaThe tta server is the Tailscale Test Agent.
cmd/viewerViewer is a tool to automate the creation of "view" wrapper types that provide read-only accessor methods to underlying fields.
cmd/viewer/testsPackage tests serves a list of tests for tailscale.com/cmd/viewer.
cmd/vnetThe vnet binary runs a virtual network stack in userspace for qemu instances to connect to and simulate various network conditions.
cmd/xdpderperCommand xdpderper runs the XDP STUN server.
Version
v1.82.5 (latest)
Published
Apr 17, 2025
Platform
linux/amd64
Last checked
4 hours ago

Tools for package owners.