Guide
Tailscale exit node on a VPS
Last updated: 15 November 2026
Tailscale connects your devices into a private network and can use your VPS as an exit node: your phone or laptop sends its internet traffic through the server, so websites see the server's IP address. It is simpler than managing keys by hand, but you should know one thing: Tailscale is a service with its own sign-in and coordination server, so you need an account with one of its supported identity providers. If you want to run everything yourself, use plain WireGuard instead. Use it lawfully and follow our acceptable use policy. If you are logged in as root, leave out sudo.
Fast VPS from $7.99 a month
- Sign up with an email address, a password and any nickname: no ID, no phone number.
- Pay with Monero, Bitcoin, Litecoin, USDT, USDC, SOL or TRX, or by card through MoonPay. Monero is the most private way to pay; USDT or USDC on Solana confirm in seconds, and we add no transfer fee on them.
- Orders are processed automatically: most are ready within minutes, occasionally it takes up to a few hours.
- New VPS orders have a 24-hour guarantee (see the terms for what is covered).
See Fast VPS plansHow ordering works
1. Install and sign in
Use the official installer (read it first if you like) and start Tailscale:
curl -fsSL https://tailscale.com/install.sh | sh
sudo tailscale up
The command prints a login link. Open it in a browser and sign in with your Tailscale account to add the server to your network.
2. Allow IP forwarding
echo 'net.ipv4.ip_forward = 1' | sudo tee /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
sudo tailscale set --advertise-exit-node
Without forwarding the server cannot pass your traffic on. The last command offers the server as an exit node. If you use ufw, Tailscale works without opening extra incoming ports.
3. Approve the exit node and use it
- In the Tailscale admin page open the machine's menu, choose "Edit route settings" and tick "Use as exit node".
- On another device with Tailscale installed, pick the server as the exit node in the app, or on Linux run
sudo tailscale set --exit-node=SERVER-NAME.
- Check your public address on a "what is my IP" page: it should show your server's IP.
Good to know
- Tailscale's coordination server knows your account, your devices' names and the IP addresses they connect from, and when they are online. It does not get the content of your traffic, which is encrypted between your devices. When a direct connection is not possible, the encrypted traffic passes through Tailscale's relay servers. An exit node also does not make you anonymous: websites see your server's IP address. If that trust is not acceptable for you, run WireGuard yourself.
- In the admin page open the server's menu and choose "Disable key expiry"; otherwise the server drops out of your network when its key expires and has to be signed in again.
- Keep the server updated: automatic security updates.
- To stop using the exit node, turn it off in the app or run
sudo tailscale set --exit-node= on the client.
Fast VPS from $7.99 a month; a small plan is enough for a few devices.
Questions and answers
What is a Tailscale exit node?
A device in your Tailscale network that other devices can use to send their internet traffic out, so websites see the exit node's IP address.
Do I need an account to use Tailscale?
Yes, Tailscale uses its own sign-in and coordination server with a supported identity provider. For a fully self-run setup use WireGuard instead.
Why do I need IP forwarding?
Without net.ipv4.ip_forward the server cannot pass your traffic on to the internet.
How do I check that the exit node works?
Open a what-is-my-IP page on the device: it should show your server's IP address.
Ready to try it? Fast VPS from $7.99 a month
- Pick a plan: Fast 1-2, $7.99 a month or all Fast VPS plans.
- Sign up with an email address, a password and any nickname: no ID, no phone number.
- Pay with Monero, Bitcoin, Litecoin, USDT, USDC, SOL or TRX, or by card through MoonPay. Monero is the most private way to pay; USDT or USDC on Solana confirm in seconds, and we add no transfer fee on them.
- Orders are processed automatically: most are ready within minutes, occasionally it takes up to a few hours.
- New VPS orders have a 24-hour guarantee (see the terms for what is covered).
- Before you pay you can ping our test IPs and read the live status page.
- Support is available 24/7 via email and our client ticket portal.
See Fast VPS plansHow ordering works