VPN for your router
Connect your router to VanyaVPN and the devices on your home network go through it, the smart TV and the game console included, with no app on each one. How you connect depends on the router.
Which router do you have
-
Keenetic/
Netcraze VanyaVPN app
Goes on the router with one command from your account, and works on 29 Keenetic and Netcraze models.
-
OpenWrt
VanyaVPN app
Installs over SSH in one command on OpenWrt 24.10 or 25.12, if the router has 256 MB of RAM or more.
-
MikroTik
VanyaVPN app
Goes on RouterOS 7 with two lines in the Terminal, on ARM64, ARMv7 or x86 routers with 256 MB of RAM and up.
-
Other routers
OpenVPN or PPTP
You create the connection in the router’s own menu, with a login and password from your account. Keenetic models not on the list connect this way too, as does a MikroTik that can’t run the app.
The Keenetic/Netcraze app
It goes on the router itself. Once it’s signed in, the whole home network goes online through VanyaVPN, with no app on each device.
-
Add the OPKG component
Firmware 5.0 or later is required, whether it’s KeeneticOS or Netcraze’s. The component is added in General system settings, under Component options.
-
Run the command from your account
In the Router section, Keenetic tab, copy the command. It’s the same for every supported model. Run it in the Keenetic command line at my.keenetic.net/a. Installation takes a few minutes.
-
Sign in with a code
Open the router’s page at vanyavpn.home:8790 or the router’s address with port 8790, sign in with the Keenetic admin login and enter the code from your account.
The OpenWrt app
It goes on the router with one command over SSH, and the installer works out the OpenWrt version and the CPU by itself.
-
Connect to the router over SSH
The root user needs a password. In a terminal on your computer, run
ssh [email protected]and enter that password. -
Paste the install command
It’s in the guide and in your account, on the OpenWrt tab of the Router section. The installer asks you to confirm, so answer
y. -
Sign in with a code
Open the router page at vanyavpn.home:8790 or 192.168.1.1:8790 and log in with the root password. Then press “Sign in with code” and type the eight digits from your account.
The MikroTik app
It runs in a RouterOS 7 container and installs with two lines in the Terminal.
-
Turn on containers with line 1
The install lines are in the guide and in your account. Paste line 1 into the Terminal, then within 15 minutes unplug the router’s power for 5 seconds.
-
Install the app with line 2
Paste line 2 into the Terminal. When the install is done, the last line shows the router page address.
-
Sign in with a code
Open the router page at 192.168.88.1:8790 or vanyavpn.home:8790 and log in as the MikroTik admin. Then press “Sign in with code” and type the eight digits from your account.
Other routers: OpenVPN or PPTP
Any router whose menu has an OpenVPN client, or at least PPTP, will do.
Guides by brand: TP-Link, ASUS, Xiaomi, Tenda, Zyxel, D-Link.
-
Get a login in your account
Log in to your account, open the Router section, the Other routers tab, and press “Get router settings”. The login and password cover every server on the list and both protocols. They become active in about two minutes.
-
Find the client in the router
In the router’s web interface, look for something like “VPN”, “VPN Client” or “Other connections”. Make sure it’s a client. A VPN server in the same menu does the opposite and opens your home network to connections from outside.
-
Connect over OpenVPN or PPTP
If the router can import an .ovpn file, download one next to a server in the country you want and upload it, that’s OpenVPN. If it can’t, create a PPTP connection with the server’s IP address, your login and password, and MPPE 128-bit encryption. PPTP is old and less secure, so use it only when there’s nothing better on offer. A Keenetic that isn’t on the list above won’t take the regular file, so connect it over PPTP.
If your brand isn’t listed
The steps are the same, as long as the menu has a client. On Huawei 4G routers it sits under “Advanced” → “Router” → “VPN”, with PPTP as the type, and on MikroTik’s RouterOS it’s the PPTP Client interface. If there’s no OpenVPN or PPTP client, which is usually the case with routers from Russian providers such as Rostelecom, Beeline and MegaFon, install VanyaVPN on the devices themselves: there are apps for computers and phones, and one for Android TV.
Router questions
How is the Keenetic app better than manual setup?
It connects over protocols that are harder to spot and block, to the same locations as the apps on phones and computers, and updates itself. It serves the whole home network or only the devices you pick, and sites on the exceptions list open directly. Manual setup connects the router to a separate server list, and some providers block OpenVPN and PPTP.
My provider blocks PPTP and OpenVPN. What can I do?
It happens, and the account page warns about it. Try OpenVPN over TCP, the .ovpn file lists it as the second address. If that fails too, put the VanyaVPN app on a Keenetic from the list, an OpenWrt router or a suitable MikroTik, and on other routers use the apps on the devices themselves. The apps run on different protocols, ones designed to get past blocking.
Can one login cover two routers, one in the city and one at a country house?
Only one at a time. The OpenVPN and PPTP login serves a single connection, and a new one drops the previous. For the second place it’s easier to put VanyaVPN on the phones and laptops there, since the subscription has no device limit.
Which countries are the servers in?
The Keenetic app has the same locations as the apps on phones and computers. OpenVPN and PPTP have their own server list, which differs from the countries in the app and changes now and then. The current one is always in your account, with a flag next to each server.
