brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: tailscale status --active hides every device that is sitting idle

Network and access
~/tips/tip-tailscale-status-active

tailscale status --active

Shows only the Tailscale peers you are currently exchanging traffic with, including direct or relayed.

A big tailnet makes tailscale status long and noisy.

The default output is a table with the Tailscale IP, machine name, owner, OS and connection state of every peer. For each peer it also shows whether traffic goes direct, over a DERP relay, or over a peer relay. That is useful when something feels slow, but it all sits under forty lines you do not care about.

tailscale status --active

The --active flag filters the list down to peers that have active connections. Start a download or open an SSH session, run it, and you see only the machines you are actually talking to, with tx and rx byte counts and the path in use.

For scripts there is --json, and the docs mention piping it through jq for reporting.

Caveat: a peer that was idle a moment ago shows up as idle or with a dash, which is normal. It does not mean it is down. Generate some traffic first and run the command again.

It also works well as a first step before the heavier tools. If the path column says relay while you expected direct, you know where to dig next, and tailscale netcheck is the natural follow-up.

Further reading: Tailscale CLI reference, On this site: tailscale dns status shows what MagicDNS is really doing, On this site: tailscale netcheck tells you why your connection is not direct

More Network and access tips scp -3 alice@server-a:/var/backups/db.sql.gz bob@server-b:/srv/restore/ tailscale exit-node suggest tailscale lock sign nodekey:1abddef1 tlpub:abcdef12 wg genpsk > peer1.psk Table = off All Network and access tips (163) All topics

Link