VPN on an OpenWrt router: which routers will do

A VPN on the router covers every device at home at once — including those that can't run a VPN app: the TV, the console, a smart speaker. You need a router running OpenWrt, with a suitable processor and enough memory.

Updated

On this page

Will your router do

  1. 1

    Find your model in OpenWrt's list

    OpenWrt runs on many routers from various makers. If your model is in the table of hardware on openwrt.org, OpenWrt can go on it. Check the exact model name.

  2. 2

    Check the memory

    A VPN takes up room. As a guide: 16 MB of flash or more and 64 MB of memory at least, 128 MB is better. With 8 MB of flash or less, a VPN and its dependencies usually won't fit.

  3. 3

    Find out the processor

    In OpenWrt's web interface (LuCI) open “Status → Overview”: it has the “Model” and “Architecture” rows. The processor decides whether there is a package for your router.

What a VPN on the router gives you

  • The whole home goes through the VPN — or only the devices you choose, or everyone but them.
  • Devices are picked by their address in your home network: give them fixed addresses in the router's DHCP settings.
  • Your own country's sites can stay direct: they open as usual.

What won't do for Veli

  • Routers on MIPS big-endian and on ARM without an FPU.
  • 8 MB of flash or less — Veli and its dependencies won't fit.
  • Factory firmware, Keenetic, MikroTik and ASUS with Merlin — not supported yet.

In Veli

The app installs it for you

In Veli on a computer, open Profiles → “Add” → “Router” and enter the “Router address” and the “root password” — a freshly flashed OpenWrt has none. OpenWrt 21.02–25.12 or ImmortalWrt 24.10 will do. At first the app only looks whether there is Veli for the router's processor: nothing changes on the router before “Install”.

The router can connect to your own server with Veli or to a VPN service's subscription that has Veli servers in it. The router shows up as a row in Profiles, and its screen offers “The whole home”, “Only the ones chosen” or “All but the ones chosen”. If a server goes quiet, the router moves to another server of the subscription by itself, and the home never goes out around Veli.

FAQ

How do I know whether my router will do?

Find the model in the table of hardware on openwrt.org and check the processor, flash and memory. The Veli app checks this itself and says so if the router won't do, without changing anything on it.

Can I send only the TV through the VPN?

Yes: choose “Only the ones chosen” and add the TV by its address in your home network. The other devices go online as before.

What happens if the server stops answering?

The router moves to another server of the subscription by itself. While it moves, the internet is gone for a moment, but the home never goes online unprotected.

The Veli app installs Veli on the router

Profiles → Add → Router: the app checks the router's processor and changes nothing before “Install”.