Tailscale Exit Node VPS: Set Up a Fixed US IP

Set up a tailscale exit node vps on a $3.99 Linux server, route devices through a fixed US IP, choose bandwidth, and verify the connection safely.
A dark 3D server routes glowing connections to a laptop and smartphone.

A tailscale exit node vps routes your device’s internet traffic through a Linux server, giving you a consistent public US IPv4 address while keeping your devices connected through Tailscale. A VPS keeps the route online and provides a dedicated IPv4 address.

What an exit node does

A Tailscale exit node is a device that acts as the internet gateway for another device in the same tailnet. After you select it, ordinary internet traffic leaves through the exit node instead of directly through the Wi-Fi, mobile, or broadband connection you are currently using.

That is different from a subnet router. A subnet router advertises selected private networks, such as 192.168.1.0/24; an exit node advertises the default routes 0.0.0.0/0 and ::/0 so the client can send general internet traffic through it. Tailscale requires opt-in on both sides: the server advertises itself, an administrator approves it, and each client separately selects it.

This is useful when you want to:

  1. Use your own US datacenter egress address while traveling or working from changing networks.
  2. Route traffic from a laptop or phone through a server you control.
  3. Reach the internet safely from an untrusted Wi-Fi network without exposing services on your local network.

An exit node is not an anonymity guarantee. The VPS has a datacenter IP, not a residential IP, and the server operator can still observe network-level information. Use it for legitimate traffic and follow the terms of the services you access.

Why put the exit node on a VPS?

A VPS stays online and gives you a public network address without exposing your home router as the gateway.

VPSLake’s Buffalo Linux plans include a dedicated IPv4 address, full root access, KVM virtualization, and a choice of Debian 12, Ubuntu 24.04, AlmaLinux 9, or Rocky Linux 9. The 1 GB plan costs $3.99/mo and includes 1 TB of traffic on a 100 Mbps port. For a single client used for browsing, administration, and light transfers, that is a sensible starting point.

Buffalo is in New York State on the US East Coast; see our best VPS for VPN workloads guide and New York Linux VPS overview.

What you need before starting

Prepare these items before you run commands:

  • A Buffalo Linux VPS with root or sudo access. Debian 12 or Ubuntu 24.04 is simplest for this walkthrough.
  • A Tailscale account and an existing tailnet, unless you plan to use Headscale.
  • Tailscale installed on the client device that will use the exit node.
  • Access to the Tailscale admin console so an Owner, Admin, or Network admin can approve the route.
  • A way to record the VPS’s public and Tailscale IPv4 addresses.

The client and exit node should run Tailscale 1.20 or later, the minimum listed in Tailscale’s current prerequisites. A Linux VPS is the direct choice for this job.

Step 1: Prepare the Linux VPS

The goal is to start with an updated server and a reachable administrative session.

On Debian or Ubuntu, connect over SSH and run:

sudo apt update
sudo apt upgrade -y

Keep the provider’s browser console available while changing routing settings. If you use UFW, inspect its policy first:

sudo ufw status verbose

Tailscale recommends that a firewall deny forwarding by default unless you have deliberately allowed the forwarding you need. If you need help generating a rule set, use VPSLake’s UFW firewall generator and review every rule before applying it.

Success looks like a current server with SSH or console access still working and no unreviewed firewall change.

Step 2: Install Tailscale and join the tailnet

The goal is to register the VPS as a normal Tailscale device before enabling routing.

Tailscale’s Linux installation documentation lists both package-manager instructions and the official installation script. On a standard Debian or Ubuntu VPS, the script method is:

curl -fsSL https://tailscale.com/install.sh | sh
sudo tailscale up

The second command prints an authentication URL. Open it, sign in, and approve the machine for your tailnet.

Check that the node joined successfully:

tailscale status
tailscale ip -4

Success looks like the VPS appears in the Tailscale admin console and tailscale ip -4 returns a Tailscale address, usually in the CGNAT range. This is the private overlay address; it is not the public IP that websites will see.

Step 3: Enable forwarding and advertise the exit node

The goal is to let the Linux kernel pass client traffic to the internet and announce the VPS as an exit-node candidate.

Enable both IPv4 and IPv6 forwarding using a dedicated sysctl file, as shown in the current Tailscale documentation:

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

Now advertise the VPS:

sudo tailscale set --advertise-exit-node
sudo tailscale up

The tailscale up command applies the advertised route after tailscale set. If you use firewalld instead of UFW, masquerading may be required for some configurations.

Success looks like the machine showing an Exit Node badge or an advertised exit-node route in the admin console. IP forwarding should also be enabled without a sysctl error.

Step 4: Approve and select the exit node

The goal is to complete Tailscale’s second opt-in and then turn on the route for each client that needs it.

In the Tailscale admin console:

  1. Open Machines and locate the VPS.
  2. Open its route settings.
  3. Select Use as exit node and save.

On a Linux client, find the VPS’s Tailscale IPv4 address with tailscale status, then select it:

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

On Windows, macOS, Android, or iOS, select the approved VPS from the Tailscale client’s Exit node menu. Each device opts in separately. Enable local-network access only when you trust the local network and need a printer or NAS.

Success looks like the client reports the VPS as its active exit node and normal internet traffic continues to work.

Step 5: Verify the public IP and routing

The goal is to confirm that traffic leaves through the VPS’s public IPv4 address, not merely that the tunnel is connected.

First record the server’s public IPv4 address from the VPS dashboard or with a trusted IP-checking method. Then, on the client with the exit node enabled, run:

curl -4 https://api.ipify.org
echo

The returned IPv4 address should match the VPS’s public IPv4 address. Tailscale recommends this check because the exit node’s address should appear instead of the client’s normal address.

Test a second client only after the first one works. If the client has native IPv6 connectivity, check IPv6 separately; an IPv4 verification alone does not prove that every application is using the same address family.

How much VPS bandwidth do you need?

For an exit node, traffic is counted in both directions. Choose the plan by active clients and data moved, not only by RAM.

Use caseStarting choiceWhy
One laptop or phone, occasional browsing and administration1 GB, $3.99/mo1 TB traffic and a 100 Mbps port are a low-cost starting point
Several devices or a busier always-on connection2 GB, $5.99/mo2 TB traffic and a 200 Mbps port provide more headroom
Exit node alongside Docker or other services4 GB, $9.99/mo3 vCPU, 4 GB reserved RAM, 3 TB traffic, and a 200 Mbps port leave room for the additional workload

The 1 GB Buffalo plan includes 1 vCPU, 20 GB SSD storage, 1 TB traffic, a dedicated IPv4, full root access, and KVM. Over the traffic allowance, the port is throttled rather than billed for overage. Start with 1 GB and move up when measured traffic or other services justify it.

Can Headscale replace the Tailscale control plane?

Yes. Headscale is a self-hosted control server for a Tailscale-compatible tailnet; the Buffalo VPS supplies the public egress address and forwards traffic.

For a Headscale-managed node, join it with your control-server URL and advertise the route:

sudo tailscale up --login-server https://headscale.example.com --advertise-exit-node

On the Headscale server, list the advertised routes:

headscale nodes list-routes

Approve the IPv4 default route for the correct node identifier:

headscale nodes approve-routes --identifier <node-id> --routes 0.0.0.0/0

The Headscale routes documentation explains the IPv6 route, access policies, and autoApprovers. Use Headscale when you already operate a control server; the standard Tailscale console has fewer moving parts for a first setup.

Troubleshooting checklist

The VPS does not appear as an exit node

Run sudo tailscale status and confirm the VPS is online. Check forwarding, repeat sudo tailscale set --advertise-exit-node followed by sudo tailscale up, and confirm admin approval.

The client sees the exit node but traffic does not route

Check the client’s active setting and test with curl -4. A custom Tailscale policy may also need a grant to autogroup:internet; access to the VPS alone does not permit internet routing.

The public IP does not change

Confirm that the client selected the VPS’s Tailscale IPv4 address, not its public address. Turn off other VPN software, test IPv4 explicitly, and verify approval.

Local devices stop working

That is expected when local-network access is disabled. Enable it only when you trust the network and need a printer, NAS, or other local device.

FAQ

Can a 1 GB VPS run a Tailscale exit node?

Yes, the Buffalo 1 GB plan is a reasonable starting point for one or a few light-use devices. It includes 1 TB of monthly traffic, a 100 Mbps port, a dedicated IPv4, and full root access; choose a larger plan when traffic or other services grow.

Does a Tailscale exit node give me a fixed IP?

It gives routed IPv4 traffic the public address of the VPS, which is useful when you need a consistent US datacenter egress address. It is not a residential IP and it does not make your activity anonymous.

What is the difference between a Tailscale exit node and a subnet router?

A subnet router provides access to selected private networks. An exit node routes a client’s general internet traffic through the server, so it advertises the default route and changes the public egress address.

Can I use Headscale with a VPS exit node?

Yes. Headscale can manage the tailnet and approve the exit-node route, while the VPS remains the machine that forwards traffic to the internet. Use the standard Tailscale control plane if you do not already want to operate Headscale.

How do I stop using the exit node?

On a Linux client, run sudo tailscale set --exit-node=. In the graphical clients, select None in the Exit node menu. The device then returns to its normal local internet connection.

Samrat Ghosh
Written by

Samrat Ghosh

Founder & Infrastructure Engineer

Samrat Ghosh is the founder of VPSLake, where he builds and runs the remote desktop and VPS hosting infrastructure the company is built on. He writes hands-on guides about RDP, Windows Server, VPS management and secure remote access - the practical documentation he wishes had…

Previous Article

How to Install Latest Node.js on Ubuntu 22.04 (Step-by-Step)

Next Article

How to Install Latest Node.js on Ubuntu 25.10

Write a Comment

Leave a Comment

Your email address will not be published. Required fields are marked *

Subscribe to our Newsletter

Subscribe to our email newsletter to get the latest posts delivered right to your email.
Pure inspiration, zero spam ✨