VPS on a Xiaomi router

MiWiFi firmware speaks PPTP and L2TP, while VanyaVPS offers routers PPTP and OpenV⁠PN. They meet at PPTP. It’s less secure than OpenV⁠PN, but MiWiFi has nothing else. On the plus side, the TV and set-top box on this network are covered too, with nothing to install on them.

Xiaomi MiWiFi Add service window: name, protocol type PPTP, server, username, password
The Add service window in MiWiFi. The service name can be anything, the one on the screenshot comes from our old guide.

Four steps in MiWiFi

  1. Open the router’s panel

    Open 192.168.31.1 or miwifi.com and log in with the password you chose at first launch. The screenshots come from a Xiaomi 3C. On other models with this firmware, the Mi Router 4C included, find the same V⁠PN icon under the Advanced tab.

  2. Add a PPTP service

    On the Advanced tab, click the “V⁠PN” icon, then “Add service”. Set “Protocol type” to PPTP, paste the address of the server you want into “Server”, and fill in “Username” and “Password” with your router login details from the account. Save with the blue button.

    Xiaomi MiWiFi Advanced tab: a row of section icons with V⁠PN selected
    The Advanced tab and the V⁠PN icon. The service list and the Add service button open below the icons.
  3. Connect

    Press “Connect” in the new service’s row. A few seconds later the status reads “Connected” and the button turns into “Disconnect”.

  4. Turn on auto-connect

    At the bottom, switch on “Connect automatically when the device is on”. Without it, after a reboot or a power cut the router goes online directly and patiently waits for you to press “Connect” again.

    Xiaomi MiWiFi: PPTP service connected, auto-connect switch on at the bottom
    The service is connected, and the auto-connect switch at the bottom is on.

Smart TV and set-top box

A VPS on a Xiaomi router covers everything connected to it, over Wi-Fi or cable. The TV and the box just need the home network. That’s handy for Samsung and LG sets and for Apple TV, which VanyaVPS has no app for.

If the box runs Android TV, a Xiaomi Mi Box for instance, you can skip the router and install the app on the box itself, as described on the Android TV page. Then only the box uses the VPS, while everything else at home stays as it was.

Android TV sign-in screen of the app with a QR code and a field for the code from your account

If Xiaomi won’t cooperate

Can a Xiaomi router do OpenV⁠PN?

Stock MiWiFi firmware has no OpenV⁠PN client, only PPTP and L2TP. VanyaVPS doesn’t offer L2TP for routers, so that leaves one option.

The status never gets to Connected

Check the server address and login details, it’s safer to copy them from your account than to retype. If they’re right, your provider may be blocking PPTP, our old guide named Beeline as an example. MiWiFi has no second protocol to fall back on, so the next step is the app on the devices themselves.

I have a Xiaomi mesh system. Where do I set it up?

On the main node, the one plugged into your provider’s cable, if its menu has a V⁠PN section. The other nodes just extend its network, so their devices go through that connection too.

One subscription for the whole home

The router, the TV behind it and your phones on mobile data share one subscription. There’s no separate fee for the router.

If it does not work for you, we refund the payment under our refund policy.