Router setup

How to set up a VPN on a router

Set the tunnel once on the router and every device behind it is covered, including the ones that cannot run a VPN at all: consoles, smart TVs, speakers.

What you need

About 10 minutes, OpenWrt, ASUS and GL.iNet routers with WireGuard or OpenVPN client

  • A router with a WireGuard or OpenVPN client: OpenWrt 21.02 or later, ASUS with current firmware, or any GL.iNet model
  • Access to the router admin page
  • An active MobileVPN plan with a free device slot
  • A router CPU that can handle encryption at your line speed

Pick a method

No MobileVPN software

Official WireGuard, OpenVPN or system clients only

Move city any time

Same slot, new file or code

Kill switch ready

Steps for this platform below

Recommended

WireGuard on GL.iNet, ASUS and OpenWrt

WireGuard is light enough for router CPUs and keeps more of your line speed than OpenVPN.

  1. Download a WireGuard file

    Add the router as a device called "Home router", choose a city and WireGuard, and save the .conf to your computer.

  2. GL.iNet

    Admin panel, VPN, WireGuard Client, Add a new group or use the default, then Upload configuration file. Press Start.

  3. ASUS

    Admin panel, VPN, VPN Fusion (or VPN Client), Add profile, choose WireGuard, Import config file, then Apply and Activate.

  4. OpenWrt

    Install luci-proto-wireguard, then Network, Interfaces, Add new interface with protocol WireGuard VPN, and Load configuration to paste the file. Add the interface to a firewall zone with masquerading.

  5. Check from a phone

    Join the Wi-Fi with your phone and open our IP check tool. It should show the city you chose.

Method 2

OpenVPN on routers without WireGuard

Older ASUS models and many other routers only offer an OpenVPN client. It works with the same plan; expect lower speed on small CPUs.

  1. Download an .ovpn profile

    Choose OpenVPN for the router device, preferably UDP 1194.

  2. Upload it to the router

    Find VPN Client in the admin page, choose OpenVPN, import the file and save.

  3. Connect and test

    Activate the profile and check the public IP from a device on the network.

Kill switch on your router

A router kill switch stops the whole home network from reaching the internet outside the tunnel, which protects devices that have no VPN settings of their own.

  1. GL.iNet

    VPN Dashboard, Global options, enable Block Non-VPN Traffic.

  2. ASUS

    In VPN Fusion, turn on the Kill Switch option for the profile.

  3. OpenWrt

    In Network, Firewall, allow forwarding from the lan zone only to the WireGuard zone, not to wan.

What the kill switch protects

Split tunneling on your router

On a router, split tunneling is decided per device: you pick which phones, TVs or consoles use MobileVPN and which go out directly.

  1. GL.iNet

    VPN Dashboard, Proxy mode or VPN Policy, then choose devices by name or MAC address.

  2. ASUS

    VPN Fusion lets you assign each client device to the VPN profile or to the plain internet connection.

  3. OpenWrt

    Install the pbr (policy based routing) package and add rules by device address.

Split tunneling explained

Router VPN not working? Fixes

Speed drops a lot through the router

Small router CPUs limit encryption speed. Use WireGuard instead of OpenVPN, or route only the devices that need the VPN.

Some sites block the router IP

Move the router device to another city in the dashboard and upload the new file.

Phones on the Wi-Fi also run MobileVPN

That works: the phone tunnel simply runs inside the router tunnel. The phone keeps its own slot whether its tunnel is on or off, so delete it in the dashboard only if you no longer use it away from home.

Router VPN questions

Does a router count as one device?

Yes. One router uses one slot, no matter how many devices connect through it.

Which router brands work with MobileVPN?

Any router with a standard WireGuard or OpenVPN client. OpenWrt, ASUS and GL.iNet have the most complete options.

Can I take a travel router with me?

Yes. A small GL.iNet travel router protects every device in a hotel room on one slot.

VPN plans for your router

Go

$2.51 a month

6 devices, $60.29 for 24 months

Saver

$1.50 a month

10 devices, $40.50 for 27 months

Plus

$3.64 a month

10 devices, $87.29 for 24 months

Pro

$6.22 a month

12 devices, $149.39 for 24 months

Compare plans and lengths

Other device guides

Protect your router tonight

Top up in crypto, buy a plan, and your router gets its own slot, file and city.