Exit nodes
By default, Tailscale routes traffic only between devices in your tailnet. Your public internet traffic continues to use your device's local internet connection.
You can configure a device in your tailnet as an exit node to route public internet traffic for other tailnet devices. Instead of connecting directly to a website or other internet service, a device sends its traffic to the exit node over your tailnet. The exit node then forwards the traffic to the internet and sends the responses back to the device over your tailnet.
This lets you use the internet as though you were on the network where the exit node is located, even when you're somewhere else. For example, while traveling, you can browse the internet using your home network's public IP address, access services that are available only from your home or office, or encrypt traffic between your device and the exit node when using public Wi-Fi.
Exit nodes and subnet routers both route traffic, but they solve different challenges. An exit node routes all of a device's public internet traffic. A subnet router gives tailnet devices access to a specific private subnet, such as an office LAN or a cloud VPC, without routing their public internet traffic. Subnet routers are also useful for reaching devices on that private network that can't install the Tailscale client, such as printers.
Here's a general rule to follow:
- To route internet traffic, use an exit node.
- To reach a private network or devices that can't install the Tailscale client, use a subnet router.
Set up and use exit nodes
Configure a device as an exit node
Advertise a device as an exit node, approve it in the admin console, and grant users access.
Use an exit node
Configure devices to route their internet traffic through an exit node, and control local network and DNS behavior.
Related exit node features
Recommended exit nodes
Understand how Tailscale can recommend exit nodes based on your location and latency.
Mandatory exit nodes
Enforce use of an exit node for your Tailscale devices.
Mullvad exit nodes
Use Mullvad VPN endpoints as exit nodes for your tailnet.
Operate exit nodes
Exit node flow logs
Log traffic destinations from exit nodes in network flow logs.
Troubleshoot exit nodes
Fix common exit node problems, and understand platform limitations and performance considerations.