To set up a VPN on Android, first install a client that supports your subscription. Then import the subscription, choose a route, and allow Android to establish the VPN connection. Once connected, open the app you intend to use and test it. A route list, the key icon in the status bar, and an app that works each indicate different things.
Install a client: check subscription compatibility first
With P8VPN, open the client download page and find the Android instructions. Check the app name, publisher, and supported import methods, then install it from one of the listed sources. Android VPN clients don't necessarily support the same subscription formats. Android's “Add VPN” setting is generally for entering connection details manually, not for pasting a subscription link.
If the instructions provide an APK, Android may ask you to allow the browser or file manager opening the installer to install unknown apps. Verify the APK's source, then enable this permission for the app you're using. You can turn it off again after installation. If your device is managed by a school or employer, contact the administrator if a policy blocks installation.
Import your subscription: save it, then check the route list
- Copy the subscription link for your client. In the service dashboard, follow the client instructions to copy the matching link. Don't copy the dashboard page URL from your browser's address bar, and don't paste a link for a single route into a field that accepts subscription URLs only.
- Add it from a URL. In the client, look for “Subscription,” “Configuration,” or “Profiles,” tap the add button, and choose “Import from URL” or a similar option. Paste the full link. If a name is required, enter a label you can recognize, then tap Save.
- Update and enable the profile. Some clients fetch the subscription automatically after saving; others require you to tap “Update” or “Refresh.” Once the route list appears, make sure the newly imported profile is active, then choose a route to connect. If the list is empty, don't keep toggling the connection switch.
Connection permission: check the Android system prompt
After selecting a route, tap “Connect” or switch on the client. The first time you connect, Android usually displays a system “Connection request” explaining that the app will establish a VPN connection and may monitor network traffic. This is a system confirmation, not a service sign-in prompt. Check that the app name in the dialog matches the client you just opened, then tap “OK” or “Allow.”
Once connected, the client usually shows “Connected”; some devices also display a key icon in the status bar. If you tapped Cancel earlier, return to the client and try connecting again. If another VPN is already running for the same user profile, such as an old client or an app that filters traffic through a local VPN, check whether you can pause it. Don't disable a connection enforced by an organization policy.
Battery optimization: prevent disconnections when the screen is off
If the VPN works while the screen is on but often disconnects with the screen off, long-press the client icon to open “App info,” then go to “Battery” or “App battery usage.” Menu names vary by system; common options include “Unrestricted,” “Allow background activity,” or “Don't optimize” for the app. If you can't find them, search Settings for “Battery optimization” or “Background activity” and locate the client. Change settings for this app only; there's no need to disable battery saving for the whole device.
After changing the setting, stay on the same network, connect, and leave the screen off for a while. Then unlock the device, reopen the page you were using, and check whether the client disconnected or reconnected. Test switching from Wi-Fi to mobile data separately. If it disconnects only when you change networks, first check whether the new network has internet access; don't assume both issues are caused by battery settings. Android's “Always-on VPN” setting is not a battery optimization exemption. During initial troubleshooting, avoid enabling “Block connections without VPN” at the same time, or regular internet access will also be blocked if the tunnel fails to connect.
Verify the connection: test the app you actually use
First, disconnect the VPN and check that your network can load a regular webpage. If public Wi-Fi requires sign-in, complete that step first. Then connect the VPN, open the app you want to use, and perform an action that makes a network request, such as refreshing a list or searching for new content. A page loaded from cache doesn't prove that the latest request succeeded.
To check your browser's public IP, use the same browser to reload the same IP lookup page before and after connecting, and compare results for the same address family. In rule-based mode, the lookup page may be set to connect directly, so the browser's route may not reflect how other apps connect. If your target app isn't working, check whether it's excluded from the VPN and whether the target domain matches the proxy rules. If the client provides connection logs, check which route the request actually used. A single public IP lookup also can't tell you where DNS requests were routed.
Success checklist: the subscription refreshes, the client connects, the target app loads new content, and the connection keeps working when the screen is off or you switch networks as usual. The status bar icon alone isn't the final check.
Common Android VPN issues: troubleshoot by failure point
| Issue | Check first | What to do next |
|---|---|---|
| Subscription update fails | Network and subscription URL | Make sure regular webpages load, then copy the link for your client from the dashboard again and update the subscription. |
| Routes appear, but the connection fails | System permission and route | Make sure you allowed the connection and check whether another VPN is active. On the same network, try connecting through a different route. |
| Connected, but one app doesn't work | Routing rules and target service | Check the app exclusion list and domain rules. If the request used the expected route, check the error from the target service. |
| Works with the screen on, disconnects when it's off | Client background restrictions | Adjust the client's battery settings, then test again on the same network to rule out network switching as a factor. |
Change one setting at a time when retesting. If you need to look for a fix in the Help Center, note your Android version, client name, network, and exact error message first. Specify whether the subscription update failed, the connection failed, or the client connected but the app didn't work. This avoids repeating steps that are already working.