← All posts

Running a personal exit node for safer coffee-shop Wi-Fi

I do not trust coffee-shop Wi-Fi. I also do not fully trust hotel Wi-Fi, airport Wi-Fi, public hotspots, or any open network I do not control.

That does not mean I think those networks are malicious. It means I do not want my laptop's traffic exposed to whatever happens to be sitting on the same network.

For years, my answer was a commercial VPN — NordVPN, Mullvad, ExpressVPN, depending on which one I'd most recently been annoyed at. It worked, but it also moved trust from the coffee shop to the VPN provider.

Eventually I realized I already owned a better exit point for my threat model: the desktop in my home office, sitting on a 1 Gbps fiber connection and idle most of the day.

This post is about using that desktop as my personal exit node with HostAnywhere's Internet Gateway feature.

What Internet Gateway does

Internet Gateway is HostAnywhere's name for the "route all my outbound traffic through another peer" pattern. If you've used Tailscale, this is the same idea as Exit Nodes. In our model:

Result: my laptop in a coffee shop sends every packet (except mesh-internal ones) over the encrypted mesh to my home desktop. Home desktop NATs onto my fiber. The coffee shop sees an encrypted tunnel from my laptop, not the websites, DNS queries, or services behind it.

Three-slot priority, automatic failover

The thing I've grown to love about this feature isn't the basic "tunnel through home" — that's table stakes. It's what happens when home goes down.

In the dashboard, you can configure three Internet Gateway slots: Primary, Secondary, Tertiary. Your client devices fall through them in order:

If home's fiber goes down at 2 AM, my laptop notices within about 10 seconds and starts routing through my parents' Pi. If both home and parents are out (regional power outage), it falls to the friend's Mac mini. I rarely notice the transition — a tab might take a half-second longer to load.

The 3-slot priority + automatic failover is the part that I think actually changes the user experience versus traditional commercial VPNs. With NordVPN, if "my" server goes down, I either get a connection failure or I'm silently sent to whatever server has capacity. With my own gateways, I know exactly where my traffic is exiting and exactly what the backup paths are.

Setting it up

What you need:

Steps:

  1. Install the HostAnywhere agent on the gateway device. Sign in.
  2. In the dashboard, open the device settings, find the "Internet Gateway" option, toggle it on.
  3. In your network-level settings, assign this device to the Primary slot (or Secondary / Tertiary, depending on which one you're setting up).
  4. On your client device (laptop, phone), toggle "Use Internet Gateway" in the app. It picks up the network's gateway configuration and starts routing.

You can verify it's working by visiting any "what's my IP" service — you should see your home IP, not the coffee shop's.

What this protects you from, and what it doesn't

Honest about the threat model.

What it does:

What it does not do:

What if I want to appear from a different country?

The home-desktop gateway is built for "safer Wi-Fi from a fixed location" — your traffic exits from wherever the gateway lives. If you want to appear from a different region — say, watching geo-fenced content while traveling, or testing a service from another country — you can add another Internet Gateway in that region.

A small Linux VM (around $2/month, for example on Oracle Cloud) works as a gateway and gives you a stable exit IP in the geography you choose. Spin one up in Frankfurt for a German exit, Mumbai for an Indian exit, Ashburn for a US-East exit. Use HostAnywhere's 3-slot priority to switch between regions, or have separate gateways for separate use cases.

See our docs for a walkthrough video on bringing up a cheap Linux VM on Oracle Cloud as an Internet Gateway.

Personal Internet Gateway is for the case of: "I want my real laptop to safely use the network I'm currently on, with my traffic exiting from hardware I control — at home, or in any geography I choose."

Bandwidth honesty

The bandwidth math:

I've found that the worst-case experience (Secondary kicks in during a home outage, and I'm on a Zoom call) is fine. Audio stays clear, video drops to 480p. Better than the alternative of being unable to use the coffee-shop Wi-Fi at all.

What I run

The current setup, in case it's useful:

Total cost over a year: $0 incremental hardware cost because I already owned the devices, plus $9/month for the HostAnywhere plan I was already using.

The bigger win is not just cost. I no longer pay for a separate commercial VPN provider, and my traffic exits from hardware I control. As a side benefit, because traffic exits from my normal home IP, fewer services treat it like generic VPN traffic.

Try it

Try HostAnywhere Free at hostanywhere.io — connect up to 10 devices with no credit card. Upgrade to Developer when you're ready to enable Internet Gateway.