Luoboyun1 GB of trial traffic for new accounts, valid 24 hours, for Clash / Mihomo clientsAlipay, WeChat or cryptoSign upAdAdLuoboyun, 1 GB to tryFor new accounts, 24 hours, Alipay / WeChat / cryptoSign up
dl-tailscale.is
English
简体中文繁體中文EnglishРусскийفارسی

Exit nodes

Turn a device into an exit node and use it from phone and computer: forwarding, approval, keeping the local network, why it fails.

What it does

Normally only traffic to your own devices uses Tailscale. With an exit node all traffic first goes to that device and out from there, and websites see its public IP.

Before and after

Make a Linux machine the exit

Forwarding first
echo 'net.ipv4.ip_forward = 1' | sudo tee -a /etc/sysctl.d/99-tailscale.conf
echo 'net.ipv6.conf.all.forwarding = 1' | sudo tee -a /etc/sysctl.d/99-tailscale.conf
sudo sysctl -p /etc/sysctl.d/99-tailscale.conf
Then offer it
sudo tailscale set --advertise-exit-node

On the Machines page the device now shows an Exit Node badge; choose Edit route settings and tick Use as exit node.

On Windows and macOS choose Run as exit node in the icon's exit node menu; it needs the same approval.

Use it elsewhere

Choosing on a phone (drawing)
Linux
sudo tailscale set --exit-node=home-pc --exit-node-allow-lan-access

To stop, run it with nothing after the equals sign.

When it fails

What you seeCause
No internet at all after choosingForwarding is off, or that device has no internet
The node is not listedNot approved in the console
Stopped after you edited the policyNo grant for autogroup:internet
The printer vanishedLAN access is not allowed
Does it make things faster?

No. The limit is that device's upload, which on home lines is often a fraction of the download.

Can a friend's device be my exit?

Yes, if it is shared with you and exit is allowed. The exit sees which sites you visit, so use only people you trust.

Read next Subnet routers

Neighbouring topics

Keywords on this page: Tailscale exit node, use home internet abroad, exit node setup