A VPN can reduce the risk of exposing network traffic on public Wi-Fi, but it does not make every activity private or every hotspot trustworthy. A VPN client creates an encrypted connection between your device and a VPN server. This can help prevent other people on the same local network from reading traffic that travels through the tunnel. It does not replace HTTPS, protect a device that is already compromised, or confirm that a Wi-Fi network belongs to the café, hotel, airport, or conference venue it claims to represent.
The safest approach is layered: verify the hotspot, connect through a reputable VPN app, check that the tunnel is actually working, keep HTTPS enabled, and protect important accounts with strong authentication. Those checks matter before remote work, sign-ins, file transfers, or online payments. The steps below explain what a VPN can and cannot do, how to set it up, and what to do if the connection behaves unexpectedly.
What a VPN protects on public Wi-Fi
On an open or poorly secured Wi-Fi network, nearby users may be able to observe some local network information or attempt to interfere with connections. A properly connected VPN encrypts traffic inside its tunnel before it crosses the local wireless network. This makes the contents of tunneled traffic harder for the hotspot operator or another local user to inspect. The VPN server then forwards requests onward, so websites and online services generally see the VPN server’s network address rather than the address assigned to your device by the hotspot.
That description has important boundaries. The VPN provider can process traffic that exits the tunnel, and the services you visit can still identify you through account sign-ins, cookies, app permissions, or other signals. A VPN also cannot hide the fact that your device is connecting to a VPN server from the local network. The hotspot may still see that your device is online, when it is active, and how much data it exchanges. The exact metadata visible to different parties depends on the app, operating system, network configuration, and services being used.
HTTPS remains important even when the VPN is connected. HTTPS encrypts the connection between the browser or app and the destination service, helping protect information in transit and allowing the browser to verify the site’s identity. If a site displays a certificate warning, a VPN is not a reason to ignore it. Likewise, a VPN cannot make a deceptive sign-in page genuine or prevent you from entering your password on a look-alike site.
Device
Keep the operating system, browser, and apps updated.
VPN
Encrypt traffic between the device and the VPN server.
HTTPS
Protect the connection from the browser or app to the service.
Account
Use strong, unique credentials and available multi-factor authentication.
In practice: treat VPN, HTTPS, device security, and account security as complementary safeguards. None of them makes the other layers unnecessary.
Check the hotspot before connecting
Before joining a public network, confirm its name with staff, event organizers, or the venue’s posted instructions. A familiar-looking network name is not proof that the access point is legitimate. Someone nearby can create a network with a similar name, and a device may automatically reconnect to a saved network that is no longer the one you intended to use. If several similar entries appear, do not guess; ask the venue which one is official.
Be cautious with captive portals, the web pages that ask you to accept terms, enter a room number, or provide another access detail before internet access is enabled. A portal may appear before the VPN can connect because the device first needs limited access to complete the network’s login process. Confirm that the portal is part of the expected venue flow. Avoid submitting sensitive account passwords, payment card details, or work credentials to a page that merely claims to be required for Wi-Fi access. If the page asks for information you did not expect, stop and verify with staff.
Once online, review the Wi-Fi network’s security setting if your device exposes it. A network described as open does not encrypt the wireless link in the same way as a protected network. That is a reason to be more careful, not a reason to assume that a VPN will solve every risk. Disable automatic joining for public networks when practical, and remove old saved hotspots you no longer use. On a shared or borrowed device, avoid saving passwords or allowing the browser to remember payment information.
- ✅ Confirm the network name through a trusted venue source.
- ✅ Pause if a captive portal requests credentials unrelated to Wi-Fi access.
- ✅ Turn off automatic joining for networks you do not trust.
- ❌ Do not assume a familiar network name proves the hotspot is genuine.
- ❌ Do not accept certificate or browser security warnings just to continue.
Useful habit: if you cannot verify a hotspot or its sign-in page, use a trusted alternative connection for sensitive tasks rather than trying to make an uncertain network safe through settings alone.
Set up the VPN before sensitive activity
Install the VPN client from the provider’s official distribution channel for your platform. Avoid installers or configuration files sent by unknown people, pop-up advertisements, or unofficial download pages. After installation, sign in and review the app’s connection settings. Names vary across Windows, macOS, iOS, Android, and Linux, but useful options commonly include automatic connection on untrusted Wi-Fi, reconnecting after a network change, and a kill switch or network lock.
A kill switch is intended to block some or all internet traffic if the VPN tunnel drops, reducing the chance that traffic continues over the ordinary connection. Its exact behavior differs by client and operating system. Some settings apply only while the VPN app is open; others can remain active at the system level. Read the app’s description, enable the option if it fits your needs, and test it in a low-risk situation rather than assuming the label guarantees a particular result. Do not confuse a kill switch with protection against malicious websites, unsafe downloads, or compromised accounts.
Connect to the VPN before opening work tools, signing in to important services, or making a payment. If a captive portal must be completed first, use only the minimum access needed to reach the expected portal, complete the venue’s legitimate process, and then connect the VPN. If your client offers an automatic connection rule for public networks, check how it classifies networks and whether it reconnects after sleep or a change between Wi-Fi and mobile data.
Keep the VPN client and operating system current. Updates can address security problems, compatibility issues, and connection failures. On a device managed by an employer or school, follow its approved VPN and network policy; installing a second VPN or changing system routing may conflict with required security tools.
Verify the tunnel and watch for leaks
A client’s “connected” label is a useful first check, not complete proof that every app is using the tunnel. Open a trusted IP-check page or use a service’s own connection diagnostics to confirm that the visible network address changes to the VPN connection. The result may vary by server and configuration, so focus on whether it is consistent with the route you selected rather than expecting a particular location or performance figure.
Check that the apps you care about can load pages and that name lookups work. A tunnel can appear active while DNS or routing is misconfigured, leaving websites unable to open. If your VPN client reports a DNS, routing, or permission problem, follow its troubleshooting guidance instead of repeatedly entering passwords into web pages. Some operating systems also provide per-app VPN settings, split tunneling, or local-network access options. These can intentionally send selected traffic outside the tunnel, so review the rules if your goal is to route all internet activity through the VPN.
Network changes deserve another check. Moving between access points, waking a laptop, or switching between Wi-Fi and mobile data can interrupt a tunnel. Wait for the client to reconnect, then confirm that traffic is usable before resuming sensitive activity. If you enabled a network lock, an interruption may block internet access until the VPN reconnects or the setting is changed. That is an expected trade-off for a setting designed to reduce exposure during a drop.
- Confirm the client shows an active connection to the intended VPN route.
- Check the visible network address using a trusted diagnostic page.
- Open a site and confirm that DNS and ordinary browsing work.
- Review split-tunnel and per-app rules if some traffic behaves differently.
- Recheck after a network change, sleep, or VPN reconnect.
If a check fails, disconnect and reconnect using the official client. Try a different available route if the issue persists, and consult the provider’s troubleshooting instructions. Do not install random “leak fix” utilities or disable operating-system protections to make a test pass.
Protect accounts and devices as well
A VPN does not prevent phishing. Before entering a password, inspect the domain and use a saved bookmark or the service’s official app when possible. Be especially careful with links received through unsolicited messages, QR codes, or unexpected Wi-Fi portal pages. If a page asks you to sign in again after an unusual redirect, close it and open the service independently. A valid VPN connection cannot tell you whether a page is legitimate.
Use unique passwords for important accounts and enable multi-factor authentication where available. A password manager can help you avoid reusing credentials and may warn when a sign-in page does not match the saved domain. Keep device screen locks enabled, do not leave an unlocked laptop unattended, and avoid connecting unknown USB accessories or accepting unexpected device-management profiles. For work, follow your organization’s rules on file access, sensitive data, and approved remote-access tools.
Public Wi-Fi is also a poor place to ignore ordinary device hygiene. Install operating-system and browser security updates, use reputable endpoint protection where appropriate, and review file-sharing settings. Turn off sharing features you do not need on public networks. If a connection seems to redirect you repeatedly, install unfamiliar software, or display unexpected security prompts, disconnect from the hotspot and investigate using a trusted connection.
For payments and other high-impact tasks, use the official service and verify the destination before confirming. HTTPS and a VPN both reduce certain network risks, but neither guarantees that the recipient is trustworthy or that a transaction is reversible. When a task can wait, postponing it until you are on a trusted network is a reasonable choice.
What to do when the VPN will not connect
Public networks sometimes restrict the traffic needed by VPN apps, and captive portals can prevent a tunnel from starting until access is authorized. First confirm that you have completed the legitimate Wi-Fi sign-in process. Then check the client’s status and error message, confirm that the device has internet access without the tunnel if your settings allow that check, and try reconnecting through the official app. If your organization manages the device, ask its support team before changing network or VPN settings.
If the VPN disconnects repeatedly, avoid doing sensitive work while it is unstable. Check whether the device is switching between saved networks, whether battery-saving settings are suspending the app, or whether a system update or permission change affected the client. A different route or supported connection option may help, but follow the provider’s guidance and make one change at a time so you can identify what resolved the problem. Do not disable the kill switch simply to restore browsing unless you understand that traffic may then use the ordinary hotspot connection.
When the hotspot itself seems suspicious, disconnect from it rather than troubleshooting indefinitely. Forget the network if you do not expect to use it again, turn off Wi-Fi if necessary, and use a trusted mobile or wired connection. If you entered a password into a page that now seems deceptive, change that password through the service’s official site or app and review account activity. If you reused the password elsewhere, update those accounts too.
A sensible public Wi-Fi routine is therefore straightforward: verify the network, complete only the expected access step, connect and verify the VPN, keep HTTPS and account protections in place, and stop if anything looks wrong. A VPN is useful precisely when its role is understood—not as a promise of total anonymity, but as one practical layer in a careful connection setup.