Skip to content

VPN Won’t Connect on Wi-Fi? 6 Fixes When Mobile Data Works

If your VPN connects on mobile data but not Wi-Fi, start with the most likely causes. Follow quick checks for router settings, DNS, protocols, and device permissions, with steps for major platforms and a fallback plan.

If your VPN connects over mobile data but fails on Wi-Fi, the account and app may be working while something about the Wi-Fi path is blocking, redirecting, or confusing the connection. The cause could be as simple as a captive portal or a stale DNS setting, or it could involve router filtering, a network firewall, or the VPN protocol. Change one thing at a time so you can identify what actually fixes it.

Before troubleshooting, note the exact error message, whether the VPN fails before or after you tap Connect, and whether other devices on the same Wi-Fi have the same problem. Keep mobile data available as a temporary fallback, but turn it off while testing Wi-Fi so the phone cannot silently switch networks and make a failed test look successful.

Read the symptoms before changing settings

A mobile-data connection is a useful comparison, not proof that every VPN setting is correct. Cellular and Wi-Fi use different network routes, DNS resolvers, firewalls, and sometimes different address families. A successful connection on one path narrows the search toward the Wi-Fi network or a setting that behaves differently on it, but the VPN server or app can still be part of the problem.

First test ordinary internet access with the VPN disconnected. Open a few unrelated sites or apps, and check whether the Wi-Fi itself is prompting you to sign in. If normal access is unavailable, fix the Wi-Fi connection before troubleshooting the VPN. If normal access works, connect the VPN and record the result. Then test a different server location or connection entry, if your client offers one, without changing other settings at the same time.

This quick comparison helps distinguish common cases:

  • ✅ Wi-Fi has no internet access: resolve the router, sign-in page, or broadband issue first.
  • ✅ Only one device fails: inspect that device’s VPN permissions, DNS, and network settings.
  • ✅ Several devices fail on the same Wi-Fi: check router controls, filtering, or the network operator.
  • ✅ One server entry fails but another connects: the issue may be specific to that destination or route.
  • ❌ Don’t reset every network setting or change several router options at once; it makes the cause harder to identify.

If you manage the Wi-Fi, you can inspect its router settings after the simpler checks below. On a work, school, hotel, or public network, you may not have permission to change those settings; ask the network administrator instead of trying to bypass its rules.

Fix 1: Complete the Wi-Fi sign-in page

Hotels, airports, cafés, campuses, and some guest networks may require you to accept terms or sign in through a captive portal before ordinary internet access is available. A VPN can prevent that page from appearing because it encrypts and routes traffic through the VPN connection. The result may look like a VPN failure even though the Wi-Fi is simply waiting for authorization.

  1. Disconnect the VPN and connect to the Wi-Fi network.
  2. Open a browser and visit a plain, familiar website, or open the network’s sign-in notification if one appears.
  3. Complete the sign-in or acceptance process, then verify that ordinary internet access works.
  4. Reconnect the VPN and check whether the connection now completes.

If no sign-in page appears, disconnect and reconnect to Wi-Fi, then try opening a different website. Avoid entering account credentials into an unexpected page; confirm that the page belongs to the venue or network operator. Some managed networks explicitly restrict VPN traffic. In that case, ask the operator whether VPN connections are allowed rather than attempting to evade the restriction.

Fix 2: Check DNS and local network settings

DNS translates a website or server name into an address. A stale custom DNS entry, filtering service, or incorrectly configured network profile can stop the VPN app from resolving its server name. It can also make a VPN appear connected while some websites fail to load. DNS problems are more likely when normal browsing is inconsistent, server names fail to resolve, or switching back to automatic DNS makes the connection work.

Start with reversible checks. If you previously entered a custom DNS address on the device, temporarily set DNS back to automatic for the Wi-Fi network and test again. If the router uses a content filter, parental-control service, or security product, check whether it is blocking the VPN app’s server domains. Do not replace DNS with an address from an unknown source; a DNS provider can see and influence name lookups.

On Windows, you can refresh the local DNS cache by opening Command Prompt and running ipconfig /flushdns. This clears cached name lookups; it does not change the router’s DNS configuration. On macOS, reconnecting to Wi-Fi or restarting the device is a safe first step before using system-specific commands. On Android and iOS, forget-and-rejoin is often a more practical initial test than changing advanced DNS settings.

After a DNS change, test both the VPN connection and ordinary browsing. Restore the previous configuration if the change makes other apps or local services stop working. If only one Wi-Fi network has the issue and its DNS is controlled by an administrator, ask that administrator to review the network’s filtering and name-resolution rules.

Fix 3: Look for router filtering or firewall rules

Home routers and managed Wi-Fi systems may include firewalls, parental controls, access schedules, threat protection, or device-specific restrictions. These features can block a VPN app, its server addresses, or the type of traffic it uses. A router may also have a setting that treats encrypted tunnels as restricted traffic. If other devices on the same Wi-Fi also fail to connect, router-side filtering becomes more plausible, although it is not the only possible cause.

If you administer the router, check its logs and security controls for a block corresponding to the affected device or VPN connection. Review recent changes to parental controls, access rules, DNS filtering, and firewall policies. If you recognize a rule that blocks the app, adjust only that rule and test again. Avoid disabling the whole firewall or turning off security features permanently; broad changes can expose devices on the network and do not establish which control caused the problem.

Some routers offer VPN passthrough or tunnel-related options. Their names and behavior vary by manufacturer, firmware, and VPN protocol, so do not assume that a particular toggle is required on every router. Consult the router documentation or administrator before changing it. If the router is supplied and managed by an internet provider, contact that provider rather than attempting an unsupported configuration.

A network administrator may deliberately block VPN traffic on guest or workplace Wi-Fi. If that is the situation, use a network where VPN use is permitted or request an approved connection method. Technical troubleshooting should not be used to get around a network owner’s access policy.

Fix 4: Test another protocol or connection profile

VPN protocols establish the encrypted tunnel in different ways. A protocol that works on mobile data may be filtered, interrupted, or unsupported on a particular Wi-Fi network. If your app provides a protocol selector, note the current choice and test another option supported by the service. Change only the protocol, reconnect to the same Wi-Fi, and record whether the result changes. Then restore the original choice if the alternative does not help.

Available options depend on the VPN service and client. WireGuard, OpenVPN, IKEv2, Shadowsocks, VMess, Trojan, and Hysteria2 are not interchangeable labels for the same transport; support and behavior differ between implementations. A client may expose only some of them, or may provide a profile that selects settings automatically. Use only protocol options offered by your service and compatible with the client. Do not paste a configuration from an unrelated provider or invent server parameters.

If the client offers a choice of connection profiles or server entries, try another available entry after testing the protocol. This can help identify a destination-specific problem, but it does not prove that a server is generally unavailable. Keep a note of which combination was tested, and avoid changing protocol, server, DNS, and router settings together.

For compatible third-party clients such as Clash Verge, sing-box, or Shadowrocket, confirm that the imported configuration matches that client and is current. A profile intended for one client or format may not be understood by another. If a subscription or configuration needs refreshing, use the service’s official account or setup instructions rather than modifying authentication details manually.

Fix 5: Check VPN permissions and competing network tools

Operating systems use a VPN permission or network extension to route traffic through the client. If permission was denied, removed during an update, or replaced by another VPN profile, the app may not be able to establish its tunnel. A second VPN, proxy, security filter, DNS app, or device-management profile can also compete for the same network controls.

Windows and macOS

On Windows, open the VPN client and confirm that it is allowed through the system firewall on the network profile you are using. Review the list of active network adapters and disconnect other VPN clients or proxy tools temporarily. Do not broadly turn off Windows Firewall as a test. If the app reports a driver or service error, restart the computer and check for an update from the client’s official source before reinstalling.

On macOS, approve the VPN configuration or network extension prompt when the operating system displays it. In System Settings, review VPN configurations and any network or security extensions associated with the client. If another VPN or filtering app is active, disable it temporarily and retest. A managed Mac may require an administrator to approve the configuration; do not remove a work profile without authorization.

Android and iOS

On Android, accept the system VPN connection request and check whether another VPN is already active. Some devices have an always-on VPN or a setting that blocks connections without the VPN; these settings can affect testing when the app is disconnected or malfunctioning. Review them carefully and restore any required policy afterward. Battery optimization can interrupt a background connection, but it is less likely to explain an immediate failure to connect; test the basic connection before changing power settings.

On iOS, approve the VPN configuration prompt and check Settings for an existing VPN profile or an active configuration from another app. A device managed by an employer or school may restrict which VPN profiles can be installed. If the device asks for permission again after an app update, approve it only when you recognize the app and intended connection.

On any platform, disconnect the other network tool before testing. If the VPN then works, re-enable tools one at a time to find the conflict. Remove an old profile only when you understand what created it and have a way to restore it.

Fix 6: Refresh the connection and update the client

Temporary state can linger after switching from mobile data to Wi-Fi, waking a laptop from sleep, or changing a router setting. Disconnect the VPN, turn Wi-Fi off and back on, then reconnect. If that does not help, restart the VPN app and device. Restart the router only if you administer it and doing so will not interrupt other users or services.

Check that the device’s date and time are set correctly, since incorrect system time can interfere with secure connections and certificate checks. Then confirm that the VPN app is current and that its configuration or subscription has not been removed or expired. Use the official app source or service instructions. Reinstalling should be a later step, not the first one: before doing so, confirm you can sign in again and retrieve the correct configuration.

When the problem persists, collect useful details before contacting support: device operating system, VPN client name and version, Wi-Fi network type, exact error text, whether normal browsing works, and which protocol or server entry you tested. Do not send passwords, private keys, or a full subscription link in a public forum; configuration links can contain sensitive access information. VPN connection setup can vary between platforms, so use the relevant instructions for your device; the Free VPN for China page is one place to review the service’s supported platforms and available starting points.

6

targeted fixes

2

network paths to compare

1

change at a time

FAQ

Why does my VPN work on mobile data but not Wi-Fi?

The two connections can use different DNS, routing, firewall rules, and network policies. A captive portal, router filter, or restricted guest network may affect Wi-Fi while mobile data remains unaffected. A successful mobile connection narrows the investigation, but does not identify the exact cause by itself.

Should I change VPN settings if Wi-Fi has no internet without the VPN?

No. First restore ordinary Wi-Fi access. Check the router or access point, reconnect to the network, and complete any required sign-in. VPN settings cannot repair a Wi-Fi connection that has no working internet route.

Is changing the VPN protocol safe?

Testing another protocol offered by your VPN app is generally a reversible diagnostic step. Record the original setting, change only that option, and switch back if it does not help. Do not import unknown profiles or enter protocol settings that were not supplied for your account and client.

Can I disable my router firewall to make the VPN connect?

Do not leave the firewall disabled. If you administer the router, inspect its logs and specific filtering rules, and adjust only a rule you understand. For a managed, workplace, school, or provider-supplied network, ask its administrator whether VPN use is permitted.

Try it free