Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Tailscale Knowledge Patch?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nevaberry-tailscale-knowledge-patch-nevaberry-plugins)
---
name: tailscale-knowledge-patch
description: Tailscale
version: "1.104.6"
license: MIT
metadata:
author: Nevaberry
---
# Tailscale Knowledge Patch
Load this skill when configuring, automating, or troubleshooting Tailscale clients,
access policies, networking, Kubernetes deployments, integrations, PAM, or Aperture.
Use the quick reference for common compatibility decisions and the topic files for
the complete guidance, platform conditions, and product-specific release details.
## Reference index
| Reference | Topics |
| --- | --- |
| [CLI and Release Automation](references/cli-and-release-automation.md) | CLI compatibility, node inspection, GitHub Action, release channels and availability |
| [Identity, Policy, and Trust](references/identity-policy-and-trust.md) | Grants, state encryption, Tailnet Lock, workload identities, posture, organizations, PAM |
| [Integrations and Observability](references/integrations-and-observability.md) | Terraform, API responses, pagination, logs, metrics, Aperture |
| [Kubernetes and Containers](references/kubernetes-and-containers.md) | Container state, Operator configuration, proxies, Ingress, DNS, Peer Relays, recording |
| [Managed Clients and Platforms](references/managed-clients-and-platforms.md) | System policies, desktop and mobile controls, installation, platform compatibility |
| [Networking, Routing, and Services](references/networking-routing-and-services.md) | Services, Serve, Funnel, SSH, DNS, exit nodes, subnet routing, DERP, connectivity fixes |
## Breaking changes and deprecations
### CLI and platform compatibility
The CLI rejects repeated flags starting in v1.84.0. Docker image v1.84.2 restores
passing `--accept-dns` through `TS_EXTRA_ARGS` after stricter parsing broke it.
The CLI asks for `y/n` confirmation before significant actions; account for this
prompt in scripts that perform those actions.
Client v1.102.1 removes deprecated 4via6 MagicDNS name formats. Update references
to those names before upgrading.
The macOS client requires macOS 12 or later. Share Taildrive directories through
the macOS GUI; the `tailscale drive` command for sharing was removed on macOS.
GitHub Action v4.0.0 requires runners that can install Node.js 24.
### Policy and Operator migrations
On Windows, macOS, and iOS, use `AlwaysOn.Enabled` for persistent connectivity and
`AlwaysOn.OverrideWithReason` to allow disconnects with a reason. These replace
the deprecated `ForceEnabled` policy on macOS and iOS.
Use `OnboardingFlow` to suppress macOS onboarding after installation; it replaces
the deprecated `TailscaleOnboardingSeen` policy. `AppIntroShown` suppresses the
welcome modal after the first login on a device.
Set the GitOps repository URL under **Policy file management > External reference**.
It takes precedence over the deprecated repository URL comment in the policy file.
Operator v1.96.5 removes `TS_EXPERIMENTAL_KUBE_API_EVENTS`. Configure Kubernetes
API event logging through the tailnet ACL policy.
### Changed defaults and credentials
Linux and Windows stop enabling state-file encryption and hardware attestation
keys by default. A TPM reset or replacement can prevent attestation keys from
loading; the client can now start in that case. The identity reference preserves
the earlier node-key-sealing default and the later change.
On Linux, `tailscaled --encrypt-state` encrypts on-disk node state using a TPM.
On Windows, `EncryptState` enforces TPM-backed encryption. On macOS, it requires
Keychain storage; the App Store client always uses the Keychain.
Terraform provider v0.29.1 preserves `tailscale_tailnet_key.key` on refresh.
Recreate resources whose keys were cleared by a v0.29.0 refresh. Provider v0.29.2
restores the `recreate_if_invalid` check when a key is missing.
### SSH and Serve security behavior
Tailscale SSH rejects UIDs, numeric-only usernames, and usernames beginning with
a dash in v1.98.9. Unix socket forwarding respects symlink permissions.
The v1.104.4 security fixes make local and remote Unix socket forwards run with
the authenticated user's permissions; that user must have access to the target socket.
Serve restricts Unix socket backends reachable by TCP forwards and revalidates
each path on every connection. It computes `Tailscale-App-Capabilities` per request
so separate mounts on one HTTP/2 connection cannot receive each other's capabilities.
Established Tailscale SSH sessions stay connected when check mode approval expires
starting in v1.104.5. The same release fixes SSH restart hangs and background-task
termination, and connection stalls affecting SSH, Serve, and `tsnet` on lossy networks.
## CLI inspection and automation
`tailscale configure` and its subcommands have graduated from alpha, except
`tailscale configure kubeconfig`, which remains alpha.
In v1.102.1 and later, use `tailscale get` for current node preferences,
`tailscale whoami` for the current user and device, and `tailscale service list`
for Services visible to the node. `tailscale status --peers=false` includes the
current device name in v1.102.1.
Use `tailscale wait` before an application that needs to bind to a Tailscale
resource; it waits for the resource to become available for binding.
```console
tailscale dns query --json example.com
tailscale dns status --json
tailscale ip --assert=100.64.0.10
```
The DNS commands provide machine-readable output; `tailscale ip --assert` checks
that the specified address is among the node's Tailscale IPs.
Use `tailscale down --reason` to supply a disconnect reason.
## Access policy, identity, and device posture
Grants are generally available and are the default syntax for new tailnets and
tailnets whose policy file has never been edited, retaining the previous effective
permissions. Use `via` to route through specific exit nodes, subnet routers, or app connectors.
Use `autogroup:self` as a destination in grants, ACLs, and SSH rules whose `src`
includes role autogroups, groups, or individual users. `user:*@<domain>` matches
direct tailnet members signing in with that domain; `localpart:*@<domain>` maps
a Tailscale SSH login to the host account matching the part before `@`.
Workload identity federation is in beta. Third-party OIDC workload identities can
authenticate API requests, including through `tailscale-client-go-v2` and Terraform.
Authenticate a node using a federated client ID and the identity provider's token:
```sh
tailscale up --client-id="$TS_CLIENT_ID" --id-token="$OIDC_ID_TOKEN"
```
Use `tailscale up --audience` when obtaining a provider-native identity token
automatically. Token exchange errors appear on the federated identity under
**Trust credentials**, which replaces **OAuth clients** and allows editing OAuth scopes and descriptions.
Use `ip:country` for geolocation posture and `tsStateEncrypted` for state-at-rest
encryption posture. Public IP posture through `ip:publicAddress` is in beta.
`IS SET` and `NOT SET` test attribute presence; custom-attribute API requests accept
optional `expiry` and `comment` parameters.
## Routing, DNS, and application access
Services are generally available and provide an application identity independent
of its hosting devices. Embedded `tsnet` nodes can host Services, and a Service
can forward to a remote destination. Clients accept Service virtual IPs even with
`--accept-routes` disabled. Serve and Funnel can send PROXY protocol headers so
supporting backends can read the original client's source IP address and port.
On Linux, Windows, and macOS, use `--exit-node=auto:any` with `tailscale set` or
`tailscale up` to track the recommended exit node as availability or network conditions change.
On Windows, macOS, iOS, and tvOS, choose **Recommended** in the exit node picker.
`AllowedSuggestedExitNodes` limits recommendations and automatic selection on
platforms supporting system policies.
Nameserver settings on the admin console's DNS page can make clients use configured
resolvers for all domains while using an exit node. With MagicDNS disabled,
unqualified hostnames are forwarded to configured nameservers.
Stateful filtering is off by default on Linux subnet routers and exit nodes.
Enable it with `tailscale set --stateful-filtering=true`. Site-to-site setups that
forward connections into the tailnet use `--stateful-filtering=false` together
with `--snat-subnet-routes=false`.
## Kubernetes and containers
Use a `ProxyGroup` for shared active proxy Pods serving one or more Ingresses;
Kubernetes Services can also share active network-layer proxy Pods. Multi-cluster
exposure requires cluster-wide watch access to `EndpointSlice` objects to fail
over when a cluster has no healthy backends.
Select the default proxy class through `proxyConfig.defaultProxyClass` or
`PROXY_DEFAULT_CLASS`. A `Tailnet` custom resource enables access to multiple
tailnets, and `ProxyGroupPolicy` controls `ProxyGroup` creation by namespace.
Starting in Operator v1.82.0, `/metrics` and deprecated `/debug/metrics` each
default to disabled. In a `ProxyClass`, enable them independently using
`spec.metrics.enable: true` and
`spec.statefulSet.pod.tailscaleContainer.debug.enable: true`, respectively.
Containers automatically advertise Services at startup; set
`TS_EXPERIMENTAL_SERVICE_AUTO_ADVERTISEMENT` to `"false"` to disable this.
`TS_BOOT_TIMEOUT` controls the initial coordination-server connection wait and
defaults to `60s`.
The container skips creating a Kubernetes state Secret when `TS_KUBE_SECRET` is
empty. The container and Operator stop placing hardware attestation keys in state
Secrets, allowing Pods to move to another Kubernetes node.
Record `kubectl exec`, `kubectl attach`, and `kubectl debug` sessions through the
API server proxy. Session recording is in beta; Kubernetes API audit logging
is also in beta and can accompany or replace full session recordings.
A `Recorder` with more than one replica requires an S3 backend.
## APIs, PAM, and Aperture
Tailnet listing defaults to 100 results per page. Set `limit` for page size and
pass the returned `cursor` on subsequent requests until it is empty; responses
also include `totalCount`. For `tailnetId` API path parameters, use **Tailnet ID**
from **Settings > General**; existing tailnets show the former **Organization**
field as **Legacy ID**.
PAM is in beta for application-aware SSH, database, RDP, HTTPS, Kubernetes, and S3
access. Deploy PAM connectors for connectivity and use grants for user access and
in-service permissions. Its browser client works without a local Tailscale client.
Link a secrets store to inject session credentials; PAM service accounts provide machine access to the PAM API.
Aperture is generally available with API proxying, request and response hooks,
and quotas for providers, models, users, agents, or individual runs. Capture
supports zero retention and S3-compatible export. Identity-aware connectors and
the Aperture CLI are in alpha; sandboxes are in private alpha.
The built-in Tailscale MCP endpoint can add nodes after user approval; the SSH MCP
endpoint requires approval to access a node through Tailscale SSH.