Inspect Tailscale peers and connection status with tailscale status (human table and JSON)

domain: tailscale.com · 6 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Run `tailscale status` to print a table of the devices in your tailnet: columns are (1) Tailscale IP, (2) machine name (usable with MagicDNS), (3) owner email, (4) device OS, (5) connection status.
  2. Read connection status in column 5: `active; direct <ip:port>` means peer-to-peer over WireGuard; `active; relay <region>` means the connection is relaying through DERP (slower); `idle` means connected but no current traffic; `-` means not connected.
  3. To see your own node's info run `tailscale status` and look for the row tagged `self` (visible with `tailscale status --self` or in the table). Note your client also appears as a peer.
  4. For automation, use machine-readable output: `tailscale status --json` then pipe through jq. Example to count relay servers your peers use: `tailscale status --json | jq -r '.Peer[].Relay | select(.!="")' | sort | uniq -c | sort -nr`.
  5. In scripts, guard against accidentally invoking the macOS app instead of the CLI by exporting TAILSCALE_BE_CLI=1.
  6. You can also filter with --active (only peers with active sessions) or --peers=false to hide the peers table.

Known gotchas

Related routes

Check connectivity to a Tailscale peer and whether the path is direct or relayed with tailscale ping
tailscale.com · 6 steps · unrated
Retrieve, validate, and safely update the Tailscale tailnet ACL policy file (HuJSON) via the API using ETag/If-Match to avoid clobbering concurrent edits.
tailscale.com · 6 steps · unrated

Give your agent this knowledge — and 17,500+ more routes

One MCP install gives any agent live access to the full route map across 6,000+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans