New to Android VPNs? Follow this order: install a client, import your subscription, allow Android to set up the VPN, then open the app you want to use and check that it works. Battery optimization settings aren’t needed to connect; check them first only if the VPN drops when your screen is locked. Menu names vary by Android version and client, so this guide uses common labels and explains what to look for at each step.
Android client: where to install it
Before connecting to a VPN, use your current Wi-Fi or mobile data to open a website that normally works. If it won’t load, troubleshoot your local connection first. On public Wi-Fi that requires a web-based sign-in, complete that step before continuing; otherwise, subscription updates and VPN connections may fail.
- Open the VPNShun user panel download page, sign in, and check the Android client options and instructions.
- Get the client using the method provided in the panel. If there’s an app store link, check the app name and publisher. If there’s an installer, download it only from the linked source—don’t install files from search results or forwarded messages, even if the name matches.
- After installing the client, open it and look for “Subscription,” “Configuration,” or “Profiles.” If the home screen only shows a connect switch, check the sidebar or bottom tabs for the configuration page instead of repeatedly tapping Connect.
If you already have another client installed, don’t assume it’s compatible just because the interface has an “Import link” option. The client must support both the subscription format and the protocols used by its routes. If you’re unsure, check the getting started guide for compatible clients and import instructions.
Import a subscription: from link to route list
- Sign in to the panel and get the subscription link for your client. This link retrieves configuration; it isn’t your panel sign-in address, and you shouldn’t enter a route name in the server address field.
- In the client, open “Subscription” or “Configuration,” then tap “Add,” “+,” or “Import from URL.” Paste the full link into the address field and tap “Save,” then “Update” or “Refresh.” Some clients fetch it automatically when you save.
- Return to the route list and check that options are available. If the app has multiple profiles, select the one you just imported before choosing a route. Seeing the subscription name without any routes means the import isn’t complete.
If refresh fails, first check whether you can open the user panel on your network. Then make sure the link wasn’t pasted with extra spaces or cut off at the end, and that you chose the right subscription format. If refresh succeeds but no routes appear, check the client’s message and confirm which profile is selected. Don’t start by entering ports manually or changing protocols; that makes it harder to tell whether the import failed or a manual change caused the problem.
System permission: allow the client to set up a VPN
Choose a route, then tap “Connect” or turn on the switch. The first time a VPN starts, Android will usually show a system connection request. Make sure it comes from the client you just opened, then tap “OK” or “Allow.” This permission lets the client handle traffic routed through the VPN interface; it doesn’t mean the selected route is connected. Wait for the client to report the connection status.
Not sure whether Android is routing traffic through the VPN? Open Android Settings, search for “VPN,” and check which app is connected. Some devices also show a key icon in the status bar. If the switch turns itself off right away, check whether another VPN app is already running. Ad blockers and firewall apps may also occupy the VPN interface for the same user profile. On a personal device, stop any connection you no longer use and try again. For a company-managed device, keep the administrator’s settings and ask them about any restrictions.
Battery optimization exceptions: adjust only if it disconnects in the background
If the VPN works while your screen is on but disconnects when you lock the screen or switch apps, check background battery restrictions first. Long-press the client icon, open “App info,” then “Battery” or “App battery usage,” and look for “Allow background activity” or “Unrestricted.” On some devices, go to “Settings” → “Battery” → “Battery optimization,” or search Settings for “Battery optimization” or “Background power management.” Menu names vary; you don’t need to find a page literally called “Whitelist.”
Change settings for the client only; there’s no need to turn off battery saver for the whole device. After changing the setting, stay on the same network and route. Lock and wake the screen, check the system VPN status, then open the app you were using. If the connection only drops when switching from Wi-Fi to mobile data, test the client’s reconnection behavior rather than relaxing battery restrictions further. Less restrictive background settings can use more battery; if they don’t help, restore the original setting.
Check the connection: status, exit IP, and apps
Before connecting, use the same browser to visit a trusted public IP lookup site and note the result. After connecting, reload that same page on the same network, then open the app you actually want to use. Don’t switch networks or routes during the check; otherwise, it’s hard to tell which change affected the exit IP.
With rule-based routing enabled, an IP lookup site may connect directly. With app-based routing, your browser may also be outside the VPN. In either case, an unchanged exit IP doesn’t necessarily mean the VPN isn’t working. Check the client’s mode, rules, and app list. If supported, switch to global mode briefly for comparison, then restore the original mode so traffic that doesn’t need the VPN isn’t routed remotely.
A public IP lookup can’t verify DNS. To check where domain lookups go, run a separate DNS test and interpret its results alongside Android’s “Private DNS,” your browser’s “Secure DNS,” and the client settings. A test shows the resolver used for that particular lookup; it can’t establish the DNS path for every app. A difference between the resolver’s region and the public IP’s region alone doesn’t prove there’s a leak.
How to tell: The current setup works for this use case when the system reports a successful connection, requests that should use the route behave as expected, and the app you need can complete its task. A key icon, a latency test, or a single IP lookup can’t replace testing the app itself.
Common issues: troubleshoot by symptom
- ✅ Subscription refreshes, but no websites load after connecting: disconnect and make sure your local network works, then test another route on the same network. Don’t change the route, DNS, and routing mode all at once.
- ✅ Browser works, but one app won’t load: check whether the app is excluded from the VPN or its domain matches a direct-connection rule. After changing one setting, reopen the app and refresh its content.
- ✅ Still can’t get online after disconnecting the VPN: in Android’s VPN settings, check whether “Always-on VPN” and “Block connections without VPN” are enabled. If these settings are required on a work device, contact your administrator instead of turning them off.
If the issue persists, see the connection troubleshooting guide. When reporting it, say whether it happened during subscription refresh, system authorization, route connection, or app access, and what happened after switching networks or routes. This makes it easier to diagnose than simply saying “it won’t connect.”