To use a VPN on Android, install an app that supports your subscription format. Import and update the subscription until its routes appear, choose a route, and approve Android’s VPN connection request. Then adjust background battery settings and test the connection in the app you actually want to use. An imported subscription, a connected status, and access in your target app are three different things.

Install the Android client

If you use VPNYinsi, sign in to the user panel to see how to get the Android app, then follow its instructions to choose a client that supports your subscription format. Android’s “Add VPN” setting is for entering connection details supported by the system—not for pasting a provider’s subscription URL. Import subscriptions in the client instead.

Get the app from the app store linked in the user panel or from the client’s official release channel. If you download an installation package, verify the publisher before tapping “Install” in Android’s installer. If Android asks you to allow installs from this source, do so temporarily only after confirming the source, then revoke permission after installation. Don’t bypass device management restrictions just to install the app.

When installation finishes, tap “Open.” The home screen usually has a connection switch and an entry labeled “Config,” “Subscription,” or “Profiles.” Menu names vary by device maker and client; the labels in this guide identify the relevant functions and may not match your screen exactly.

Import a subscription URL and update routes

  1. In the user panel, find the subscription option for your client and tap “Copy subscription URL.” This is the URL the client uses to retrieve its configuration, not the address of the panel page you’re viewing.
  2. Return to the client and open “Subscription” or “Config,” then tap “Add” or the plus icon. Choose “Import from URL” or “Remote subscription,” paste the address into the URL field, and tap “Save” or “Import.” If you can edit the name, add a label that makes sense to you.
  3. In the subscription list, tap “Update” or the refresh icon. If you’ve just saved an entry but no routes appear, update it manually. If the client supports multiple profiles, select the one you just imported, return to the home screen, and open the route list.

You’re set when selectable routes appear—not merely when a subscription entry shows up in the list. If parsing fails, check that you chose the right subscription format, that no spaces were copied with the URL, and that you didn’t paste the subscription into “Add node manually.” If the request times out, first check that your current network has internet access. On public Wi-Fi, complete the sign-in page before trying again.

Choose a route and grant VPN connection permission

On the routes page, choose a region for your needs, then return to the home screen and tap “Connect” or switch on the connection. The first time the client requests a connection, Android usually displays a confirmation dialog saying the app wants to set up a VPN connection. Check the app name in the dialog, then tap “OK” or “Allow.” If you’ve already granted permission, the dialog may not appear again.

If no request appears, or tapping Connect returns the client to a disconnected state, search “VPN” in system settings and check whether another app is using the VPN for the current user profile. Firewalls and traffic filters that use Android’s VPN interface may also occupy it. If it’s not managed by your organization, disconnect the existing VPN and try again. If your organization manages the connection, check with your administrator instead of changing its policies yourself.

After granting permission, wait for the client to show “Connected.” Some systems display a key icon or VPN indicator in the status bar or notifications. If you can’t find one, check the VPN page in system settings. This status means Android has established a VPN session; it doesn’t guarantee that every route in your subscription works or that every app’s traffic uses that route.

Adjust battery settings to prevent disconnects when the screen locks

Long-press the client icon, tap “App info,” then open “Battery” or “App battery management.” If you see “Unrestricted,” select it for the client. If you see “Battery optimization,” find the client and choose “Don’t optimize.” Some systems also have an “Allow background activity” switch; if you can’t find it, search for that setting by name. If there’s no matching option, you don’t need to install extra tools just to follow this guide.

After changing the settings, stay on the same network and try opening the same page once with the screen on and again after unlocking the screen. If the connection only fails after the screen locks, check whether the background setting stayed in place and whether battery saver adds further restrictions. If disconnects happen only when switching between Wi-Fi and mobile data, first check whether the client reconnects after the switch rather than assuming battery settings are to blame. Relaxing background restrictions may use more battery, so change settings only for apps that need to stay connected.

Verify the connection works and check your public IP

First check the VPN status in system settings, then open the browser or app you actually plan to use. When testing with a webpage, refresh it or open a page you haven’t visited before so cached content doesn’t look like a successful connection. With a trusted IP lookup tool, compare your public IP before and after connecting while keeping other network conditions unchanged. The region shown comes from a geolocation database and may not match the route label; don’t judge a connection by the city name alone.

If you’ve enabled app-based or domain-based routing, rules may send an IP lookup page directly to the internet. An unchanged IP doesn’t necessarily mean the VPN isn’t working. Check the client’s rules or app list to see which route should handle the traffic you’re testing. A browser result only reflects that webpage request; it can’t verify traffic from other apps or DNS lookups.

Use what you see to find the next step
Symptom Check first How to verify
Subscription saved, but route list is empty Whether the subscription was updated and the profile is selected Check the update result, then confirm selectable routes appear on the routes page
Works with the screen on, but fails after unlocking The client’s battery optimization and background activity settings Stay on the same network and repeat the screen-lock test after adjusting settings
System says connected, but the target app won’t open The target app’s routing rules and selected route Check the routing path first; if the app should use the VPN, try another route and test the same destination again
Webpage reports a DNS lookup error The client’s DNS settings and Android’s “Private DNS” setting Check the client’s documentation, change one setting at a time, and retry the same domain

If you’re still stuck finding a setting, see our Guides and user manual. During troubleshooting, note your current network, selected route, and where the issue occurs. Change one thing at a time so you can tell which setting made a difference.