Donate

Internet Security

Understand the real threats to your IP address and connection, and take practical steps to reduce your exposure

Do I need a VPN on public Wi-Fi?

Not always. HTTPS already encrypts the page content and form data exchanged between your browser and a website. The FTC explains that widespread encryption makes public Wi-Fi usually safe. A VPN can add network privacy, but it is not a requirement for every HTTPS visit and does not replace a trustworthy website.

The hotspot can still observe destination IP addresses. Domain names may be exposed by unencrypted DNS or connection setup; encrypted DNS and Encrypted Client Hello can conceal those name signals where supported. It is therefore inaccurate to say every hotspot can always read every website name. App traffic that does not use TLS or another encrypted connection can also expose its contents on the network.

A connected VPN encrypts traffic routed through its tunnel between your device and the VPN server, reducing what the local network can inspect. Excluded apps and traffic sent before the tunnel connects are outside that protection. Keep using HTTPS: the VPN tunnel does not protect an unencrypted connection beyond the VPN server. See Microsoft's wireless security guidance for network selection and VPN precautions.

  1. Confirm the network name and expected sign-in process with staff. A fake hotspot can copy a familiar name, so the name alone does not prove authenticity.
  2. Turn off automatic joining for public networks and forget them after use so your device does not reconnect unexpectedly.
  3. If the venue requires a captive portal, complete that verified access step first. Then turn on the VPN before normal browsing and check that the connection is routed as expected.
  4. Stop at certificate warnings or unexpected requests for unrelated passwords, payment details, or software. A VPN cannot make a deceptive portal trustworthy. Use mobile data when you cannot verify the network.
Lily's security guide

Do not trust the connected icon alone

Verify your visible IP, DNS resolvers, WebRTC exposure, and IPv6 path before you rely on a VPN. One consistent result across all four checks is stronger evidence than a green status icon.

Lily guiding visitors through an internet security checklist

Why Your IP Address Is the Starting Point for Security

Every device connected to the internet exposes a public IP address to every site and service it contacts. That single number can reveal your approximate location, your ISP, and whether you are connecting through a VPN or proxy. On unsecured networks — especially public Wi-Fi — your traffic can be intercepted before it even reaches your destination. Understanding what your IP reveals, and where it can leak, is the foundation of practical internet security.

Common threats — understanding the risks helps you protect yourself better

High

Public Wi-Fi Risks

Public networks are often unsecured, making your data vulnerable to interception by hackers.
High

Man-in-the-Middle Attacks

Attackers can intercept communication between you and websites, stealing sensitive information.
High

DDoS Attacks

Your IP address can be targeted with distributed denial-of-service attacks.
Medium

IP Spoofing

Malicious actors can mask their identity by faking IP addresses to launch attacks.

The three most common ways your real IP leaks through a VPN

Using a VPN is one of the most effective ways to mask your public IP address, but it is not foolproof. The three most common failure modes are DNS leaks, WebRTC leaks, and IPv6 leaks — and all three can expose your real network identity even while the VPN shows as connected.

A DNS leak happens when your device sends DNS queries through your normal ISP resolver instead of routing them through the VPN tunnel. Websites you visit may not see your IP directly, but the DNS resolver used to reach them still can. This is especially common on Windows when the OS falls back to the default system resolver. You can check this with a resolver-aware DNS leak test; our DNS leak test guide explains how.

A WebRTC leak happens in the browser. The WebRTC protocol — used for video calls, peer-to-peer sharing, and some browser extensions — makes STUN requests to discover your local and public IP addresses. Those requests can bypass the VPN tunnel entirely and expose your real IP to any site running WebRTC code. Check your browser with our WebRTC leak test.

An IPv6 leak occurs when a VPN tunnels only IPv4 traffic but your network also has a native IPv6 connection. Sites that support IPv6 can still see your real IPv6 address, which belongs to your ISP, not your VPN provider. Run our IPv6 leak test to check whether your setup is affected.

Essential security measures to keep you safe online

Very High

Use a VPN

A Virtual Private Network encrypts your internet connection and masks your real IP address, providing an extra layer of security on any network.
Very High

Enable Firewall

Keep your firewall enabled to monitor and control incoming and outgoing network traffic based on security rules.
Very High

Use Strong Passwords

Protect your network and devices with strong, unique passwords. Enable WPA3 encryption on your Wi-Fi router.
Medium

Keep Software Updated

Regular updates patch security vulnerabilities. Enable automatic updates for your operating system and applications.
High

Use HTTPS

Always look for HTTPS in website URLs. This ensures your data is encrypted in transit, even on public networks.
Medium

Monitor Network Activity

Regularly check connected devices and monitor unusual network activity that could indicate unauthorized access.

How to verify your connection is actually protected

Seeing a VPN status indicator as “connected” is not the same as confirming that your traffic is actually protected. The right way to verify is to compare your visible IP, DNS resolver, and browser behavior before and after connecting — and make sure all three tell the same story.

Start with the homepage IP checker before you connect. Note your public IP address, your ISP, and your ASN. Then connect your VPN and reload the page. Your visible IP should change to one that belongs to your VPN provider. Your ISP and ASN should shift to the VPN company's network, not your home provider.

Next, run a resolver-aware DNS leak test (see our DNS leak test guide). Only your VPN provider's resolvers should appear — not your ISP's servers. Then run the WebRTC leak test in each browser you use. If your real IP appears anywhere in the WebRTC results, your browser is leaking outside the tunnel. Finally, use the ASN lookup tool to confirm that the ASN shown belongs to your VPN provider and not your ISP. When all four checks agree, your connection is properly secured.

IP address security: what you can control and what you cannot

Your public IP address is shared with every website, API, and service you connect to. You cannot prevent this — it is how the internet works. What you can control is how much additional context that IP reveals, and how long it stays associated with your identity.

IP geolocation can place you within roughly 25–50 miles of your actual location in most cases, and sometimes closer in dense urban areas. Combined with browser fingerprinting, cookies, and login data, your IP becomes part of a persistent profile. Using a VPN replaces your real IP with one that belongs to the VPN provider, which reduces the value of IP-based profiling. However, a VPN does not eliminate fingerprinting or cookie-based tracking on its own.

You can check your current IP, ASN, and whether your connection is flagged as a VPN or proxy using our proxy check tool and IP blacklist check. Understanding what is visible about your connection is the first step toward deciding what to protect and how. Visit our guide on what someone can do with your IP address for a realistic picture of the actual risk.

Security Best Practices

Never access sensitive accounts (banking, email) on public Wi-Fi without a VPN
Disable automatic Wi-Fi connections to unknown networks
Use two-factor authentication (2FA) whenever possible
Avoid clicking suspicious links or downloading files from untrusted sources
Regularly change your router's admin password
Turn off file sharing and AirDrop when on public networks
Use a password manager to generate and store strong passwords
Enable your router's guest network for visitors

Public Wi-Fi security questions

Do I need a VPN on public Wi-Fi?
Not always. HTTPS already encrypts content sent between your browser and a website. A VPN adds privacy for traffic routed through its tunnel between your device and the VPN server. It does not make fake hotspots or deceptive sign-in pages trustworthy, protect excluded apps, or replace HTTPS beyond the VPN server. Confirm the network with staff, disable auto-join, complete any verified captive portal, and connect the VPN before normal browsing.