The knowledge base / All cheat sheets
● Always in your toolkitAbout the project ↗

Tailscale direct connection and relay troubleshooting cheat sheet

Inspect tailnet peer connectivity and compare direct and relayed paths when transfers are slow.

Tailscale client on Linux; command output and peer relay support depend on client version and tailnet configuration.

Updated · Tailscale · 6 min read

CommandWhat it does
tailscale versionIdentify the client version
tailscale statusInspect peers and connection paths
tailscale ping server.exampleTest the peer path
tailscale netcheckInspect network traversal capabilities
tailscale status --jsonInspect structured peer status

Walkthrough

Use authorized endpoints and replace server.example with a tailnet device name. Network tests send traffic; output can contain sensitive addresses and hostnames.

Step 1: Identify the client version

tailscale version

Record the client version on both devices before interpreting differences in supported features or comparing results with the current vendor documentation.

Step 2: Inspect peers and connection paths

tailscale status

Find the intended peer and note whether the active path is direct or relayed. A relay is a supported fallback and is not by itself evidence of a failed tunnel.

Step 3: Test the peer path

tailscale ping server.example

Replace the example with the authorized peer name. The ping can initially use a relay before a direct path is established; note each reported result and timestamp.

Step 4: Inspect network traversal capabilities

tailscale netcheck

Record UDP availability, observed mapping behavior and relay information. Results describe the tested endpoint and network at that time and cannot alone identify the blocking device.

Step 5: Inspect structured peer status

tailscale status --json

Review the structured status after the ping and compare available peer fields. This output can reveal sensitive device and network information and must be handled accordingly.

WORKED INCIDENT

Practical case: A remote transfer is unexpectedly slow

Fictional teaching scenario; observations are examples, not captured production output.

Situation

A team notices that transfers to an authorized tailnet server are slower on office Wi-Fi.

Investigation sequence

1. Identify the client version

tailscale version

Record client versions and the affected devices before collecting network evidence.

2. Inspect peers and connection paths

tailscale status

Inspect the peer entry and record its current connection path.

3. Test the peer path

tailscale ping server.example

Send a test ping to the approved peer and observe whether the reported path changes.

4. Inspect network traversal capabilities

tailscale netcheck

Collect netcheck output at the affected endpoint and compare it with a working network.

Example findings

Illustrative findings: the office client remains on a relay and netcheck reports that UDP is unavailable, while the comparison network permits UDP.

Interpret the findings

The observations identify a useful network-policy lead, but neither a relay path nor a single netcheck proves which firewall or device is responsible.

Verify the outcome

After an approved network change, repeat the same tests from both networks and compare the path and application performance.

Escalation handoff

Share sanitized client versions, timestamps, peer path and netcheck results with the network and tailnet administrators.

Primary references

Documented reference; examples above are teaching scenarios. Confirm behavior against your deployed version.