Some devices need to access the internet from another country but cannot run a VPN client or control routing. In such cases, software solutions are not enough. A hardware gateway becomes the only reliable way to enforce traffic routing without modifying the client itself.
In this article, I show how to turn a Raspberry Pi into a fully autonomous VPN gateway using Tailscale Exit Nodes. The setup integrates into an existing Tailscale infrastructure, prevents DNS leaks, blocks VPN bypass, and works even behind CGNAT. The client device remains completely unaware of the VPN, while all its traffic exits through the required country.