The short answer is yes — you can absolutely use a VPN on public WiFi, and in most cases you genuinely should. But the more useful question for anyone who works from cafes, airports, coworking lobbies, and hostel common rooms is a slightly different one: what exactly does a VPN protect you from on public WiFi, what does it not protect you from, and how do you set it up so it actually works when the network is fighting back?

A VPN — Virtual Private Network — creates an encrypted tunnel between your device and a remote server operated by the VPN provider. Once that tunnel is established, the WiFi network you are connected to can no longer read the contents of your traffic. It sees encrypted data flowing to a single server address and little else. For anyone logging into client accounts, banking apps, or a company dashboard while sipping a flat white in a shared space, that distinction matters.

This guide breaks down the mechanics of using a VPN on public networks, the real-world threats it addresses, the technical snags you will hit on captive-portal WiFi, and the mistakes that quietly leave people exposed even when a VPN is running. By the end you should be able to configure your setup once and trust it across dozens of networks.

a person sitting in front of a window looking out at an airport
Photo by Henry Deng on Unsplash

What a VPN Actually Protects You From on Public WiFi

The classic public WiFi threat is the man-in-the-middle attack. On an open or poorly secured network, another user on the same network can position themselves between your device and the router, intercepting the data that passes through. Historically this meant an attacker could read your emails, capture session cookies, or harvest login credentials. A VPN neutralises this because the attacker only sees an encrypted stream — even if they capture every packet, the contents are unreadable without the encryption keys.

A related threat is the evil twin: a rogue access point named something plausible like "Airport_Free_WiFi" or "Cafe Guest" set up to lure devices into connecting. Once you join, all your traffic routes through the attacker's hardware. Here a VPN is your safety net. Even if you accidentally connect to a malicious hotspot, the encrypted tunnel means the operator of that fake network cannot decode what you send. They control the pipe, but the water flowing through it is sealed.

It is worth being precise about the limits, though. Modern web traffic is largely encrypted already via HTTPS, so the practical risk on public WiFi is lower than it was a decade ago. A VPN still adds meaningful protection by hiding metadata — which sites you visit, DNS queries, and any traffic from apps that do not enforce encryption. It also shields you when a site misconfigures its certificate or when you slip and load an HTTP page. Think of the VPN as a second, network-wide layer rather than the only thing standing between you and disaster.

The Captive Portal Problem and How to Get Online

The single most common frustration when combining a VPN with public WiFi is the captive portal — the login or terms-of-service page that many networks force you through before granting internet access. Airports, hotels, and chains often require you to click "I agree" or enter a room number first. The catch: a VPN needs an active internet connection to establish its tunnel, but the captive portal blocks internet access until you have completed the login. This creates a chicken-and-egg standoff.

The reliable workaround is a specific sequence: connect to the WiFi network, let the captive portal page load and complete the login while the VPN is still disconnected, then immediately activate the VPN once you have confirmed you are online. If your VPN app has a "kill switch" (more on that shortly), you may need to temporarily disable it or use a trusted-network exception so the portal can load. On mobile devices, the captive portal usually pops up automatically; on laptops you may need to open a browser and navigate to any HTTP site to trigger it.

There is a brief window during the portal login where your traffic is unencrypted. Keep that window short and do nothing sensitive — no banking, no logins — until the VPN indicator confirms the tunnel is up. A better long-term habit for anyone constantly on the move is to avoid the portal problem entirely by using your own connection where possible. Tethering from a local SIM sidesteps public networks altogether; our guide to the cheapest ways to use your phone abroad covers how to keep a reliable, private connection without relying on cafe WiFi at all.

Enjoying this? Get more like it.

Weekly picks for remote workers and digital nomads — tools, destinations, and honest takes, straight to your inbox.

Subscribe free →
woman in yellow long sleeve shirt using macbook pro
Photo by TheStandingDesk on Unsplash

Common Mistakes That Leave You Exposed Anyway

The most dangerous mistake is assuming a VPN is running when it is not. VPN connections drop — when your device sleeps, when you roam between access points, when the tunnel times out on a flaky network. During that gap, your device may automatically reconnect to the internet directly, sending traffic in the clear without any warning. The fix is a kill switch: a feature that blocks all internet traffic the moment the VPN connection fails, so nothing leaks through. Enable it in your VPN settings and treat it as non-negotiable on public networks.

A second common failure is DNS leaks. DNS — Domain Name System — is the process that translates a website name into an IP address. Even with an active VPN, a misconfigured device can send these DNS queries to the local network's resolver instead of through the encrypted tunnel, quietly revealing every site you visit to the network operator. Reputable VPN providers route DNS through their own servers by default, but it is worth running a quick DNS leak test (several free tools exist) once after installing your VPN to confirm nothing is escaping.

Finally, do not confuse a VPN with total anonymity or a complete security suite. A VPN encrypts your traffic and masks your IP, but it does nothing about weak passwords, phishing emails, malware, or an outdated operating system. It also does not protect you from a compromised device. Pair your VPN with two-factor authentication, a password manager, and regular software updates. Security is layered, and the VPN is one strong layer among several — not a magic shield.

Choosing a VPN That Holds Up on the Road

Choosing a VPN That Holds Up on the Road

Jurisdiction, most recent independent no-logs audit and simultaneous-connection limit for the three VPNs covered above.

VPN ServiceJurisdictionLatest independent no-logs auditSimultaneous connections
ExpressVPNBritish Virgin IslandsKPMG ISAE 3000 Type I, Feb 20258
MullvadSwedenCure53 infrastructure audit, June 20245
ProtonVPNSwitzerlandSecuritum, Aug 202510

Each cell verified against the provider's own documentation. ExpressVPN (British Virgin Islands; KPMG ISAE 3000 Type I, Feb 2025; 8 simultaneous connections) and Proton VPN (Switzerland; Securitum, Aug 2025; 10) carried over from insight 1894, verified 2026-09-05. Mullvad (Sweden; Cure53 infrastructure audit, June 3-14 2024, no anonymity/traffic-integrity issues found; 5 simultaneous connections) verified against mullvad.net on 2026-09-11. Monthly Cost, Server Count and the invented Mobile App Stability rating were removed rather than refreshed, per the FIR-198/FIR-225 treatment: price and server-count figures vary by plan, tier and region and go stale within months.

Not every VPN is built for the demands of constant travel. The priorities differ from a home user who just wants to stream a foreign catalogue. For public WiFi security while working, focus on four features: an audited no-logs policy, a reliable kill switch, modern protocols like WireGuard for speed and stability, and a broad server network so you always have a nearby endpoint. A distant server adds latency that makes video calls painful, so proximity matters more than the raw number of countries offered. Of the well-known providers, NordVPN checks each of those boxes.

ℹ️ Some links in this article are affiliate links. If you subscribe through one, we may earn a commission at no extra cost to you. It never affects which providers we include or how we rate them. Full disclaimer →

Be cautious with free VPNs. Running a VPN infrastructure is expensive, and free providers often monetise by logging and selling the very browsing data you installed the tool to protect. Some free apps have shipped with tracking libraries or, worse, turned users into exit nodes for other people's traffic. If budget is tight, a paid provider on an annual plan typically costs only a few dollars a month — a small line item against a nomad budget, and one worth building into your monthly cost breakdown from the start.

Test your chosen VPN before you rely on it. Install it, enable the kill switch, run a leak test, and confirm it reconnects smoothly after your device wakes from sleep. Check that it works on the networks you will actually use — some restrictive coworking spaces and hotel networks block common VPN ports, in which case a provider offering obfuscated servers or alternate ports becomes essential. Configuring all of this once at home or in a stable coworking space beats troubleshooting in a crowded airport departure lounge.

Beyond Security: Access, Geo-Restrictions, and Compliance

Security is the headline reason to run a VPN on public WiFi, but it is not the only one. By routing your traffic through a server in another country, a VPN can restore access to services that geo-block based on location — your home banking portal that refuses foreign logins, a streaming subscription tied to your home region, or a work tool that whitelists specific country IP ranges. For location-independent professionals, this can mean the difference between accessing a critical account and being locked out mid-project.

There are caveats worth understanding. Some banks flag VPN connections as suspicious and may temporarily lock an account when they see a login from an unexpected server location, so connecting to a server in your home country before accessing financial services is usually the safer approach. Streaming platforms actively detect and block known VPN IP ranges, so results vary. And a handful of countries restrict or outright ban VPN use — checking local law before you arrive is prudent, particularly across parts of the Middle East and East Asia.

For remote workers specifically, there is also an employer dimension. Some companies mandate their own corporate VPN for accessing internal systems, which may conflict with or override a personal VPN. If your job requires connecting to a company network, clarify with IT whether you should run both, and in which order. The security fundamentals still apply — public WiFi is public WiFi — but your setup should respect whatever compliance requirements your work imposes. This is part of the wider operational discipline that separates a sustainable remote career from a stressful one; our guide on transitioning from a 9-to-5 to nomad life touches on getting these systems right early.

So, can you use a VPN on public WiFi? Yes, and for anyone regularly logging into sensitive accounts from shared networks, it is close to essential. The technology works exactly as intended — it encrypts your traffic and shields you from the network operator and other users on the same connection. The nuance lies in the details: navigating captive portals, keeping the kill switch on, avoiding DNS leaks, and choosing a provider that stays stable when you are hopping between airports and cafes.

Set it up once, test it properly, and build the habit of confirming the tunnel is live before you do anything that matters. Combine it with strong passwords, two-factor authentication, and up-to-date software, and public WiFi stops being a liability and becomes just another tool in a well-run mobile workflow. The goal is not paranoia — it is quiet, reliable protection that lets you work from anywhere without a second thought.

You’ve successfully subscribed to FireflyHive
Welcome back! You’ve successfully signed in.
Great! You’ve successfully signed up.
Success! Your email is updated.
Your link has expired
Success! Check your email for magic link to sign-in.