Set up L2TP over IPSec / PPTP VPN client in Android

In this article, we will show you how to set up a PPTP/L2TP VPN connection to your Android device

We have already made a MikroTik PPTP/L2TP VPN server in these articles:
How to set-up L2TP VPN Server
How to set-up PPTP VPN Server

The location of the VPN setting depends on your Android version and brand(e.g. MIUI for Xiaomi, HarmonyOS for Huawei, Android One etc.) You can try to find the setting via the search bar:
MIUI search setting


Alternatively you can find it under the advanced network settings of your phone for most brands.
Android Settings UI Android Network settings Android Advanced Network settings

Then tap on the plus or ADD.
Android VPN settings

Then set the VPN type to your preferred one(either PPTP or L2TP/IPSec PSK).
Android VPN Types

Set the VPN profile name as you like, and set the address and credentials, according to your VPN server configuration.
Example PPTP configuration in Android

If you use L2TP, enter the L2TP secret/pre-shared key as well
Example L2TP configuration in Android 

To test the connection, select the profile and tap on connect, or tap on the switch if you use Xiaomi MIUI.
Selecting the VPN profile

Selecting the profile in MIUI


If you selected to save your credentials, they should be auto-filled when you connect.
Connect to BGOCloud VPN

You can see that is connected by the status and the small VPN icon or key in the status bar
VPN connected in Android

VPN Connected MIUI

Please take a look and choose your hosting solution.
You can decide to make your VPN or rent a good and cheap dedicated server. 
We have a tremendous and reliable Webhosting service. 

Expertly create, route, and secure your bespoke virtual network with our MikroTik solutions.

Get Started!
icon knowledge