# Use an exit node

Last validated Oct 8, 2026

After a device is [configured as an exit node][docs-configure-exit-node], each device that routes traffic through it must opt in separately. The steps vary by the device's operating system.

#### Linux

Run [`tailscale set`][docs-tailscale-set] with the `--exit-node` flag, passing the [Tailscale IP address][docs-tailscale-ip-addresses] of the exit node.

```shell
sudo tailscale set --exit-node=<exit-node-ip>
```

You can find the IP address from the admin console or by running `tailscale status`.

To [reach your local network][ar-local-network-access] while using the exit node, set `--exit-node-allow-lan-access` to `true`.

```shell
sudo tailscale set --exit-node=<exit-node-ip> --exit-node-allow-lan-access=true
```

To stop using the exit node, run `--exit-node` with no IP address.

```shell
sudo tailscale set --exit-node=
```

#### macOS

Open the Tailscale menu in the menu bar, select **Exit Nodes** (or **Use exit node** in client versions earlier than v1.60.0), then select the exit node's machine name.

To [reach your local network][ar-local-network-access] while using the exit node, select **Allow Local Network Access**.

#### Windows

Open the Tailscale menu from the system tray, select **Use exit node**, then select the exit node's machine name.

To [reach your local network][ar-local-network-access] while using the exit node, select **Allow local network access**.

#### Android

1. Open the Tailscale app and go to the **Exit Node** section.
2. Select the exit node you want to use. To [reach your local network][ar-local-network-access] while using the exit node, toggle **Allow LAN access** on.
3. On the home screen, confirm the selected device displays in the **Exit Node** section. The section turns blue when an exit node is in use.

To stop using the exit node, go to the **Exit Node** section and select **None**.

#### iOS

Select the exit node you want to use from the top of the screen.

To stop using the exit node, disable the one in use or select **None** from the **Exit Node** list.

#### tvOS

To use another device in your tailnet as an exit node from your Apple TV, refer to [Install Tailscale on an Apple TV][docs-appletv-use-exit-node].

> **Note:**
>
> The option to use an exit node only displays if there's an available exit node in your tailnet.

To confirm that your traffic routes through the exit node, check your public IP address [with an online tool][xt-whatismyip]. The exit node's public IP address displays instead of your device's local one.

To stop routing through an exit node, select **None** from the **Exit Node** list on the device, or on Linux run `tailscale set --exit-node=` with no IP address.

## Local network access

By default, the device connecting to an exit node won't have access to its local network. This means the device connected to the exit node can't directly reach other devices on the local network, such as a printer or a NAS. If you want to allow the device access to its local network when routing traffic through an exit node, enable exit node local network access.

Enable the **Allow Local Network Access** setting from the **Exit Nodes** section of your Tailscale client, or pass `--exit-node-allow-lan-access` to [`tailscale up`][docs-tailscale-up] or [`tailscale set`][docs-tailscale-set].

Enabling local network access does not mean all traffic stops using the exit node. It creates an exception for traffic within the client's local LAN, while all remaining internet traffic continues to route through the exit node. You might want to enable local network access if, for example, you're staying at a hotel and want to route traffic through an exit node, but still want to connect to the printer in the hotel's business center. Local traffic in this scenario is still allowed through your device, but all other traffic continues to route through your exit node.

Keep in mind that allowing local network access exposes you to potentially untrusted devices in the network. Consider enabling local network access only when you trust the local network, or only for as long as you need it.

## DNS and exit nodes

When a device uses an exit node, it also uses that exit node as its DNS resolver for all domains, regardless of your global or split DNS nameservers. A nameserver that's only reachable from the device's local network can stop resolving while the exit node is in use.

To keep a specific nameserver working for devices that use an exit node, enable its **Use with exit node** setting on the [DNS](https://console.tailscale.com/admin/dns) page of the admin console. For details, refer to [Nameservers and exit nodes][docs-dns-exit-nodes].

[ar-local-network-access]: #local-network-access

[docs-appletv-use-exit-node]: /docs/install/appletv#use-a-device-exit-node

[docs-configure-exit-node]: /docs/features/exit-nodes/configure

[docs-dns-exit-nodes]: /docs/reference/dns-in-tailscale#nameservers-and-exit-nodes

[docs-tailscale-ip-addresses]: /docs/concepts/ip-and-dns-addresses

[docs-tailscale-set]: /docs/reference/tailscale-cli#set

[docs-tailscale-up]: /docs/reference/tailscale-cli/up

[xt-whatismyip]: https://www.whatismyip.com
