Install an Android Client
This Android VPN setup guide covers everything from installing a client to verifying the connection with your public IP. Stay on the same Wi-Fi or mobile network throughout the test. Switching networks can change your public IP and affect the results.
- Note your IP before connecting. Disconnect any existing VPN and turn off any proxy enabled separately in the browser you’ll use for testing. Then open this site’s My IP page and note the public IP it shows. This is not the device’s local IP shown in your Wi-Fi settings.
- Choose the Android version. Sign in to your VPNHaiLian dashboard, open Client Downloads, select the Android option, and follow the dashboard instructions to install it. Don’t download the installer from chat attachments or unverified mirrors.
- Grant installation permission if needed. If the official dashboard provides an APK and Android blocks the installation, tap “Settings” in the installation prompt. Allow apps from this source only for the browser or file manager you used to open the APK. Turn the permission off again after installation. Skip this step if you’re installing from an app store.
After installation, look for the subscription option in the client. You don’t need to add a server manually in Android’s “VPN” settings. A subscription URL lets a compatible client retrieve its configuration; it isn’t a server address for the system form.
Import and Update a Subscription URL
In the dashboard’s Overview, find the subscription for your service and copy the full URL. Open the client and look for “Subscription,” “Configuration,” or “Profiles.” Tap the option to add one, choose “Import from URL” or a similar option, paste the URL, and save. If no servers appear, open the subscription menu, tap “Update” or “Refresh,” then check the server list.
“Import successful” means the client retrieved and recognized the configuration; it doesn’t mean a server is connected. If the client only shows a form for entering a server, port, and protocol manually, go back to the profile list and look for the subscription option. With another compatible client, check that it supports the subscription format and server protocols provided by the dashboard. Support for one protocol doesn’t mean it can read every subscription format.
Choose a Server and Grant VPN Permission
Go to the client’s “Servers” or “Nodes” page and choose one that suits your needs, then return to the connection screen and tap “Connect.” The first time you connect, Android will usually show a system VPN connection request. Make sure it comes from the client you just installed and opened, then tap “OK” or “Allow.” If you tapped “Cancel” by mistake, tap Connect in the client again to bring up the request.
If the client says “Connected” and a key or VPN icon appears in the status bar, the system tunnel is active. This doesn’t mean every app uses it. If the client supports per-app routing, make sure the browser you’re using to check your IP isn’t excluded. With destination-based routing, the IP lookup page itself may be set to connect directly. To check your public IP first, temporarily switch to global proxy mode if the client offers it, then restore your routing settings. If your device is managed by your organization and VPN use is restricted, ask your administrator about the policy instead of changing managed settings yourself.
Battery Optimization and Disconnects When Screen Locks
If the connection works while the screen is on but drops after you lock and wake the phone, check the client’s background battery settings. Long-press the client icon, tap “App info,” then open “Battery” or “App battery usage.” If you see options such as “Unrestricted” or “Allow background activity,” use them to let the client run in the background. If there’s no relevant option in the battery menu, search Settings for “Battery optimization,” find the client, and select “Don’t optimize.”
Menu names vary by Android version and device manufacturer, so the wording may differ. Adjust the settings for the client only; you don’t need to turn off battery saving system-wide. After making changes, stay on the same network, lock and wake the screen, and check whether the client stays connected. Verify again on the same webpage. If the connection only drops when switching between Wi-Fi and mobile data, first check whether the client can reconnect on the new network. Don’t mistake a network handoff issue for a background restriction.
Verify Your Public IP and Troubleshoot
After connecting, reopen and refresh My IP in the same browser. Compare the address shown before and after connecting. If the page shows both IPv4 and IPv6 addresses, compare each address type separately. Then open a website or app you actually use and check that it loads. Geolocation databases can be inaccurate, so don’t judge whether the server is working based only on the city shown.
| What you see | Check first | Next step |
|---|---|---|
| No servers appear after import | Subscription URL and format | Copy the URL again from the dashboard and refresh the subscription after saving. |
| Nothing happens after tapping Connect | System permission and existing VPNs | Approve the connection prompt. If another personal VPN is active, disconnect it and try again. |
| Connected, but the IP hasn’t changed | Check whether the browser or lookup page is excluded by routing rules | Retest in global mode, or try a server with a different exit IP. |
| IP changed, but the target app won’t open | Check whether the target app uses the tunnel | Review per-app routing, then try another server or check the app’s error message. |
How to confirm the connection: If you stay on the same network and the browser has no separate proxy enabled, a connected status and a changed public IP show that this check used a different exit IP. This doesn’t prove that every app uses the tunnel, nor does it tell you which route DNS queries take.
- ✅ The configuration is up to date, and the selected server matches what the client shows.
- ✅ Compared your IP before and after connecting on the same network, and the target app loads successfully.
- ✅ Restored your usual routing settings and retested the apps that should use the VPN.
If you still can’t find the cause, see the Troubleshooting Guide. To contact Support, note your Android version, client name, network type, and the error message. Mention whether the issue occurs during import, permission setup, or connection verification. This is more helpful than simply saying “it won’t connect.”