{"slug":"recommended-exit-nodes","title":"Recommended exit nodes","tags":["tailscale","exit-nodes"],"agent_summary":"Last validated: Jan 7, 2025","trigger_phrases":[],"runnable":false,"markdown":"\r\n# Recommended exit nodes\r\n\r\nLast validated: Jan 7, 2025\r\n\r\nRecommended exit nodes are available for [Standard, Premium, and Enterprise plans](https://tailscale.com/pricing), or customers who have purchased the [Mullvad](https://tailscale.com/docs/features/exit-nodes/mullvad-exit-nodes) add-on.\r\n\r\nA recommended exit node (also called a suggested exit node) is an [exit node](https://tailscale.com/docs/features/exit-nodes) or [Mullvad exit node](https://tailscale.com/docs/features/exit-nodes/mullvad-exit-nodes) that Tailscale selects automatically based on client information such as location and latency.\r\n\r\n## [How it works](https://tailscale.com/docs/features/exit-nodes/auto-exit-nodes\\#how-it-works)\r\n\r\nTailscale prefers non-Mullvad exit nodes when selecting a recommended exit node. If the tailnet has any standard exit nodes available, Tailscale recommends them first. If no standard exit nodes are available, Tailscale recommends an available Mullvad exit node if one exits.\r\n\r\nThe selection logic varies between standard and Mullvad exit nodes. Tailscale uses latency and performance information to select a recommended standard exit node. Because Tailscale doesn't have performance information for Mullvad exit nodes, it selects one to recommend based on location.\r\n\r\n## [Use a suggested exit node](https://tailscale.com/docs/features/exit-nodes/auto-exit-nodes\\#use-a-suggested-exit-node)\r\n\r\nYou can use a recommended exit node from the [Tailscale CLI](https://tailscale.com/docs/reference/tailscale-cli) or the Tailscale client.\r\n\r\n[Tailscale CLI](https://tailscale.com/docs/features/exit-nodes/auto-exit-nodes?tab=tailscale+cli) [Tailscale client](https://tailscale.com/docs/features/exit-nodes/auto-exit-nodes?tab=tailscale+client)\r\n\r\nTo select a suggested exit node using the Tailscale CLI:\r\n\r\n1. Use the following command to view the recommended exit node:\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n```shell\r\ntailscale exit-node suggest\r\n```\r\n\r\n\r\n\r\nThe command returns the ID of the suggested exit node.\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n```markup\r\nSuggested exit node: <ID>.\r\nTo accept this suggestion, use `tailscale set --exit-node=<ID>`.\r\n```\r\n\r\n2. Run `tailscale set` with the `--exit-node=<ID>` flag to use the suggested exit node.\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n```shell\r\ntailscale set --exit-node=<ID>\r\n```\r\n\r\n\r\n## [Force use of an exit node](https://tailscale.com/docs/features/exit-nodes/auto-exit-nodes\\#force-use-of-an-exit-node)\r\n\r\nYou can force devices to use an exit node based on system policies, which you can deploy using mobile device management (MDM) solutions. For details, refer to [Mandatory exit nodes](https://tailscale.com/docs/features/exit-nodes/mandatory-exit-nodes).\r\n\r\n![Project Logo](https://cdn.brandfetch.io/tailscale.com/fallback/lettermark/theme/dark/h/256/w/256/icon?c=1bfwsmEH20zzEfSNTed)\r\n\r\nAsk AI\r\n\r\nreCAPTCHA\r\n\r\nRecaptcha requires verification.\r\n\r\nprotected by **reCAPTCHA**\r\n","html":"<h1>Recommended exit nodes</h1>\n<p>Last validated: Jan 7, 2025</p>\n<p>Recommended exit nodes are available for <a href=\"https://tailscale.com/pricing\">Standard, Premium, and Enterprise plans</a>, or customers who have purchased the <a href=\"https://tailscale.com/docs/features/exit-nodes/mullvad-exit-nodes\">Mullvad</a> add-on.</p>\n<p>A recommended exit node (also called a suggested exit node) is an <a href=\"https://tailscale.com/docs/features/exit-nodes\">exit node</a> or <a href=\"https://tailscale.com/docs/features/exit-nodes/mullvad-exit-nodes\">Mullvad exit node</a> that Tailscale selects automatically based on client information such as location and latency.</p>\n<h2><a href=\"https://tailscale.com/docs/features/exit-nodes/auto-exit-nodes#how-it-works\">How it works</a></h2>\n<p>Tailscale prefers non-Mullvad exit nodes when selecting a recommended exit node. If the tailnet has any standard exit nodes available, Tailscale recommends them first. If no standard exit nodes are available, Tailscale recommends an available Mullvad exit node if one exits.</p>\n<p>The selection logic varies between standard and Mullvad exit nodes. Tailscale uses latency and performance information to select a recommended standard exit node. Because Tailscale doesn't have performance information for Mullvad exit nodes, it selects one to recommend based on location.</p>\n<h2><a href=\"https://tailscale.com/docs/features/exit-nodes/auto-exit-nodes#use-a-suggested-exit-node\">Use a suggested exit node</a></h2>\n<p>You can use a recommended exit node from the <a href=\"https://tailscale.com/docs/reference/tailscale-cli\">Tailscale CLI</a> or the Tailscale client.</p>\n<p><a href=\"https://tailscale.com/docs/features/exit-nodes/auto-exit-nodes?tab=tailscale+cli\">Tailscale CLI</a> <a href=\"https://tailscale.com/docs/features/exit-nodes/auto-exit-nodes?tab=tailscale+client\">Tailscale client</a></p>\n<p>To select a suggested exit node using the Tailscale CLI:</p>\n<ol>\n<li>Use the following command to view the recommended exit node:</li>\n</ol>\n<pre><code class=\"language-shell\">tailscale exit-node suggest\n</code></pre>\n<p>The command returns the ID of the suggested exit node.</p>\n<pre><code class=\"language-markup\">Suggested exit node: &#x3C;ID>.\r\nTo accept this suggestion, use `tailscale set --exit-node=&#x3C;ID>`.\n</code></pre>\n<ol start=\"2\">\n<li>Run <code>tailscale set</code> with the <code>--exit-node=&#x3C;ID></code> flag to use the suggested exit node.</li>\n</ol>\n<pre><code class=\"language-shell\">tailscale set --exit-node=&#x3C;ID>\n</code></pre>\n<h2><a href=\"https://tailscale.com/docs/features/exit-nodes/auto-exit-nodes#force-use-of-an-exit-node\">Force use of an exit node</a></h2>\n<p>You can force devices to use an exit node based on system policies, which you can deploy using mobile device management (MDM) solutions. For details, refer to <a href=\"https://tailscale.com/docs/features/exit-nodes/mandatory-exit-nodes\">Mandatory exit nodes</a>.</p>\n<p><img src=\"https://cdn.brandfetch.io/tailscale.com/fallback/lettermark/theme/dark/h/256/w/256/icon?c=1bfwsmEH20zzEfSNTed\" alt=\"Project Logo\"></p>\n<p>Ask AI</p>\n<p>reCAPTCHA</p>\n<p>Recaptcha requires verification.</p>\n<p>protected by <strong>reCAPTCHA</strong></p>\n"}