Back to blog

How to Set Up Your Own VPN on a Router (Whole-Home, No App Required)

September 26, 2026 3 min read

Every other setup guide in this series installs an app per device. A router-level VPN skips that entirely — every device on the network is covered at once, with nothing to install anywhere else. It's also the setup with the most caveats, so it's worth knowing exactly where it fits before you try it.

How this is different from a device app

A VPN app on your phone or laptop only protects that one device. Configuring the VPN directly on your router means the router itself holds the connection, and everything behind it — phones, laptops, smart TVs, game consoles, anything that can't run a VPN app on its own — gets routed through the tunnel automatically, with zero setup on the device itself.

The tradeoff is control: every device on the network shares the same connection, so you can't selectively route just one device without extra configuration, and you can't quickly toggle it off for a single phone the way you would with an app.

Which protocol to use

Use WireGuard. It's the protocol with by far the widest router support — many router firmwares have a built-in WireGuard client, precisely because it's simple enough to implement without a full companion app.

AmneziaWG and VLESS are a poor fit for routers. There's no AmneziaVPN router firmware, and stock router software essentially never supports the VLESS/Xray stack a router would need to run it. If you specifically need AmneziaWG's obfuscation or VLESS's disguise on a whole-network basis, that's a much more advanced setup outside the scope of a normal router — plain WireGuard on your router is the realistic option for this use case.

Which routers can actually do this

  • OpenWrt-based routers (or any router you've flashed with OpenWrt) have WireGuard support built in or available as a package — this is the most flexible and widely documented path.
  • Some consumer routers (recent firmware from Asus, GL.iNet, and a few others) include a native WireGuard client in their settings menu, no flashing required. Check your specific model's manual.
  • Most stock ISP-provided routers don't support this at all. If yours doesn't, a small dedicated travel router (many GL.iNet models are built exactly for this) sitting between your main router and your devices is the usual workaround — you configure the VPN once on the travel router instead of your main one.

Setting it up

  1. In your Nullsify dashboard, add your router as its own device on a WireGuard-protocol server, and tap Get Config to get the config text.
  2. In your router's admin panel, find the WireGuard (or VPN client) section and paste in the config, or fill in its fields manually using the values from the config (private key, address, peer public key, endpoint, allowed IPs).
  3. Enable the interface and check the router's status page for a handshake — most firmwares show connection status directly rather than requiring a separate app.

Exact menu names vary a lot between router firmwares, so check your specific router or OpenWrt's own WireGuard documentation for the precise steps.

When this isn't the right choice

If you want to switch the VPN on and off per device, need per-app splitting, or want to run AmneziaWG or VLESS specifically, a device app (see our iPhone, Android, or Windows/macOS guides) fits better than routing the whole network through one fixed configuration.

For everything else — covering every device on the network including ones that can't run a VPN app at all — router-level WireGuard is the simplest way to do it once and be done. See the full setup guide for how the dashboard side works.

Ready to run your own VPN?

Bring your own VPS and have VLESS, AmneziaWG, or WireGuard running in minutes — no manual setup required.