Skip to content

VPN not working on public Wi-Fi

Public Wi-Fi in hotels, airports, cafés, and trains is where a VPN matters most, but it’s also where connections fail most often. These networks often require a login page, block certain VPN protocols, or limit traffic. The fixes below cover the most common causes, starting with the most likely one.

Sign in to the Wi-Fi login page first

Most public networks require you to accept terms or enter a code on a login page (called a captive portal) before the internet works. While the VPN is on, that page can’t load, so the VPN can’t connect either.

  1. Disconnect from GatewayVPN.
  2. Connect to the Wi-Fi network and wait for the login page to appear. If it doesn’t open automatically, open your browser and visit any website that doesn’t use HTTPS to trigger it.
  3. Complete the login, confirm websites load, then reconnect to GatewayVPN.

Some networks log you out after a set time. If the VPN stops working mid-session, disconnect and check whether the login page appears again.

Temporarily turn off the kill switch to sign in

The kill switch blocks all traffic outside the VPN, which also blocks the Wi-Fi login page. If the login page won’t load even after disconnecting, the kill switch may still be active.

  • Windows and macOS: Disconnect from inside the GatewayVPN app so the kill switch releases, then complete the Wi-Fi login.
  • Android: If “Always-on VPN” with “Block connections without VPN” is turned on, go to Settings > Network & internet > VPN, tap the gear icon next to GatewayVPN, and turn off “Block connections without VPN”. Sign in to the Wi-Fi, then turn it back on. The menu path may vary by phone manufacturer.

Once you’re signed in and connected to GatewayVPN, your traffic is protected again.

Switch to OpenVPN TCP

Many public networks block the ports and traffic types that VPN protocols such as WireGuard and IKEv2 rely on. OpenVPN TCP is the most likely protocol to get through restrictive networks.

  1. Open the GatewayVPN app settings.
  2. Select OpenVPN TCP as your protocol.
  3. Reconnect.

Turn on “Connect to fallback protocol” as well, so the app tries another protocol automatically if the first one fails. OpenVPN TCP can be slightly slower than WireGuard, so switch back when you’re on your home network.

Connect to a different server

If the VPN connects but pages load slowly or not at all, try another server. A server closer to your physical location usually gives the most stable connection on slower public networks. You can also use “Connect to fastest server” to let the app choose.

Forget the network and reconnect

A saved network profile can hold outdated settings from a previous visit, which may stop the login page from appearing.

  1. Go to your device’s Wi-Fi settings.
  2. Select the network and choose “Forget” (or “Forget This Network” on iOS and macOS).
  3. Join the network again, complete the login page, then connect to GatewayVPN.

Check whether the network blocks VPNs entirely

Some hotels, airlines, and venues block all VPN traffic on purpose. If none of the steps above work, the network itself is likely the cause.

  • Try connecting to GatewayVPN on your mobile data, or share your phone’s hotspot with your laptop.
  • If the VPN works on mobile data, the public network is blocking it, and switching networks is the only reliable fix.

Avoid using that network for sensitive tasks such as banking or entering passwords without the VPN.

Still not working?

Contact our support team using the contact form. We’re available 24/7 and usually reply within 30 minutes. To help us solve the issue faster, include:

  • Your device and operating system version
  • The GatewayVPN app version
  • The network type (hotel, airport, café, etc.)
  • The server and protocol you used
  • The steps you’ve already tried

Didn’t find what you were looking for?