How to set up X-VPN on Xiaomi router - L2TP?

Latest edited on 2023-06-20

In this tutorial, We will provide step-by-step instructions on how to set up L2TP VPN on your router. Let's start now!

Step 1: Sign in to X-VPN account on the website: https://xvpn.io/login

Note: Advanced configuration for Router is premium only, please make sure your account is premium.

Free users? Go premium to enjoy advanced benefits.

Step 2: Get your L2TP credentials

Go to My Account > Router Settings > Choose "Xiaomi" under L2TP, then get credentials (Username, Password and IPsec PSK ) and location IP address.If you are setting up the Router for the first time, you will see the following page when you click Router Settings:

Choose "Xiaomi" under L2TP > Tap "Generate your router configuration", then you will enter he Router Settings page mentioned above.

Step 3: Sign in to your router account

Open your Xiaomi router control panel on a new tab/page by visiting miwifi.com. Also, you can find your router's default gateway here.

The username and password are "admin" by default unless you've changed it. You can find the logins on the label at the bottom of the router as well.

Step 4:  Configure the L2TP VPN client

Navigate to "Advanced" > "VPN" , then click " Add service". The path may vary by your router model.

Click on "Add service", then fill in the details as follows:
Name: anything you like

Protocol Type: L2TP
Username: Paste Username you got in Step2
Password: Paste Password you got in Step2
Server: Paste IP address you choose from Step 2

Then click "Save".

Step 5: Check connection and disconnect

Click "Conncet" to build VPN connection, it may take some time to connect,  then you can check if the connection status is "connected". Also, You may visit this site to verify that your IP address has changed!

If you want to disconnect X-VPN, just click "disconnect" !

Need more help? Contact Us.


Was this article helpful?

Thanks for your feedback!

Why wasn't this article helpful?