Dev.to Security 🔐 Cybersecurity 👁 0 📖 5 min read

What Can Public Wi-Fi Actually See? A Hands-On Test for Cafés, Trains and Airports

Disclosure: this guide is written by the EasyGuard team. We make a VPN and mention it as one option, but every test below works with or without it. Most advice about public Wi-Fi is either "it's fine, everything's HTTPS

Disclosure: this guide is written by the EasyGuard team. We make a VPN and mention it as one option, but every test below works with or without it.

Most advice about public Wi-Fi is either "it's fine, everything's HTTPS now" or "never touch it, hackers are everywhere". Neither is much use when you're on a delayed train with 4% battery and no signal. So rather than guess, let's look at what a Wi-Fi network can actually see, using your own phone hotspot and a laptop.

The short version

On a typical café, train or airport network, whoever runs it (or anyone who has tampered with it) can usually see:

  • That you're connected: your device's MAC address (often randomised these days) and how much data you use, and when
  • Which sites you look up: plain DNS lookups travel unencrypted unless your device uses encrypted DNS
  • Which sites you connect to: the site name is usually visible in the opening "hello" of an HTTPS connection (the SNI field), even when everything after it is encrypted
  • The IP addresses you talk to

What they generally can't see on HTTPS sites: the pages you open on that site, what you type, your passwords, messages or card details.

So the real risks aren't "someone reads your banking". They're closer to: a record of where you go, fake hotspots that try to trick you, sign-in pages asking for too much, and the odd app or old device that still sends things unencrypted.

Try it yourself: watch your own traffic

The best way to understand this is to look. Do this only on a network you own, such as your phone's hotspot. Capturing other people's traffic on a public network isn't okay and may be illegal.

  1. Turn on your phone's hotspot and join it from a laptop.
  2. Install Wireshark (or use tcpdump if you're comfortable in a terminal).
  3. Start a capture on the Wi-Fi interface and browse to a couple of sites.

To see DNS lookups as they happen:

# Shows each name your laptop looks up in plain DNS
sudo tcpdump -i any -n -l port 53

To see the site names in HTTPS "hello" messages, use this Wireshark display filter:

tls.handshake.extensions_server_name

What you'll probably notice:

  • Every site you visit shows up by name, often several times, alongside lots of trackers, ad servers and app check-ins you never asked for.
  • The content of HTTPS pages is just scrambled data. No URLs beyond the site name, no form fields, no passwords.
  • If you turn on encrypted DNS (DNS over HTTPS) in your browser or device, the DNS lines go quiet. The site names in the TLS hello usually still show.

That gap between "the site name" and "everything else" is the whole story of public Wi-Fi privacy in 2026.

What actually goes wrong on public Wi-Fi

1. Fake or "evil twin" hotspots

Anyone can name a hotspot "Station_Free_WiFi". If you join the wrong one, the person running it sees the same metadata as above and can try tricks like fake sign-in pages. HTTPS still protects you from most of it, as long as you don't click through certificate warnings.

Do this: check the exact network name with staff or on a sign, and never ignore a browser security warning on public Wi-Fi.

2. Captive portals that ask for too much

Those "log in to get online" pages are normal, but some want your email, phone number, date of birth or a social login. That's data collection, not security.

Do this: give the minimum. A throwaway email is fine if they insist.

3. Auto-join and sharing

Your phone may happily reconnect to any network with a familiar name, and laptops may still have file or media sharing switched on from home.

Do this: turn off auto-join for public networks, "forget" them when you leave, and set the network as Public on Windows so sharing is off.

4. The odd thing that isn't encrypted

Most big apps use HTTPS, but older devices, some smart gadgets and the occasional niche app don't. You can spot these in your own capture as readable text in plain HTTP traffic.

Do this: keep your OS, browser and apps updated, and be wary of anything that makes you log in over a page without the padlock.

Where a VPN fits (and where it doesn't)

A VPN wraps all of your device's traffic in an encrypted tunnel to the VPN server. Repeat the hotspot test with one switched on and you'll see the difference: the DNS lookups and site names disappear, and the network only sees encrypted traffic to a single VPN server.

That's useful on public Wi-Fi because it hides your browsing metadata from the hotspot and gives you an extra layer if you've accidentally joined a dodgy network. What it doesn't do: stop you typing your password into a phishing page, fix an out-of-date phone, or make you anonymous to the sites you log in to. You're also moving trust from the hotspot to the VPN provider, so pick one whose logging policy you're comfortable with.

If you try one, a few things matter for travel specifically: a kill switch (so traffic doesn't leak if the connection drops between stations), a fast modern protocol, and enough device slots for your phone, laptop and tablet. EasyGuard is our take on this: WireGuard, OpenVPN and IKEv2, 90+ servers in 20+ locations, up to 10 devices, and a kill switch and split tunnelling in the Android app. There's a 30-day money-back guarantee, so you can run the hotspot test above with it and judge for yourself. (At the time of writing there's also a Black Friday offer of up to 75% off, running until 30 November 2026.)

A note on legitimate use

A VPN is a privacy tool. It doesn't change the rules: anything illegal stays illegal, and you should still follow the terms of the Wi-Fi network you're using.

Quick checklist for the next café or train

  • [ ] Confirm the exact network name before joining
  • [ ] Give the sign-in page as little personal data as possible
  • [ ] Never click through a certificate warning
  • [ ] Turn on encrypted DNS in your browser or device
  • [ ] Switch off auto-join and file sharing for public networks
  • [ ] Keep your phone and laptop updated
  • [ ] Use a VPN if you want the network to see nothing but encrypted traffic
  • [ ] "Forget" the network when you leave

Tried the hotspot capture? We'd love to hear what surprised you most, so tell us in the comments.

EasyGuard Team

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.