Troubleshoot exit nodes

Last validated:

If an exit node isn't working as expected, use the following guidance. For platform limitations and performance tuning, refer to Platform considerations and Performance.

An exit node doesn't appear as an option

If an exit node you advertised doesn't appear in the Exit Node list on other devices, check the following:

No internet access after selecting an exit node

If a device can't reach the internet after you select an exit node, determine whether the problem is DNS or routing. Try to reach a public IP address directly, such as using ping 1.1.1.1. If the device can reach an IP address but can't resolve domain names, the problem is DNS. Refer to DNS and exit nodes.

Also confirm that the exit node itself has working internet access, and that a Linux exit node has IP forwarding enabled.

A device can't connect to the exit node

If a device can't connect to the exit node at all, a restrictive network might block the connection or force it through a relay. Carrier-grade NAT (CGNAT), common on cellular and satellite internet connections, is a frequent cause. Refer to Troubleshoot CGNAT conflicts for more information.

Performance

For the best performance, run the exit node on Linux, which uses kernel routing. Android, macOS, and Windows exit nodes use userspace routing and are slower.

A direct connection between a device and its exit node provides lower latency and higher throughput than a relayed connection. If throughput is lower than you expect, check whether the connection is relayed rather than direct.

On a Linux exit node, you can enable UDP segmentation offload for a significant throughput improvement. For this and other tuning, refer to Linux optimizations for subnet routers and exit nodes.

Expired device keys

If you run a device as an always-on exit node, prevent it from dropping offline when its key expires.

When a connector's (such as, app connector, subnet router, exit node) key expires, the connector's advertised routes remain configured on other devices but become unreachable (known as "fail close" policy). Tailscale keeps these routes in place intentionally because removing them could leak traffic to untrusted networks.

To prevent disruption from this behavior, disable key expiry on the connector or configure high availability. If you prefer to withdraw routes when a key expires, you can use the admin console or API to enable and disable advertised routes when certain conditions are met.

Platform considerations

Exit node behavior and requirements vary by platform. Linux typically provides the best performance.

Userspace routing

On Android, macOS, and Windows, the exit node runs in userspace, which is less mature and optimized than the default Linux kernel implementation. This can reduce performance. On Android, an exit node might be too slow for most uses, so connect the device to a power source if you use it as an exit node for an extended time. For details, refer to Kernel vs. netstack subnet routing and exit nodes.

Keeping the device awake

On macOS, Windows, and tvOS, the device must stay awake to remain available as an exit node.

  • On macOS, open Energy Saver in System Settings, then select Prevent computer from sleeping automatically when the display is off.
  • On Windows, prevent the computer from sleeping, and consider enabling "Run Unattended" so Tailscale keeps running after you log out or the machine reboots, such as for updates.
  • On an Apple TV, configure the device as a home hub so it stays reachable while asleep. For more information, refer to Install Tailscale on an Apple TV.

For more about preventing sleep on macOS and Windows, refer to the related issue.

DNS on Windows exit nodes

When Tailscale acts as an exit node, it runs a DNS server for the devices behind it. On Windows, each concurrent DNS query occupies a system thread and memory, which can cause problems for heavily used exit nodes. For more information, refer to the related issue.

Google Cloud Platform on Linux

Linux VM exit nodes on Google Cloud Platform have a known issue. For a workaround, refer to the Google Cloud Platform reference architecture.