Does a VPN hide your IP address?

What a VPN hides and what it does not, a five-minute test to see whether yours really works, and how to fix the usual leaks.

Short answer: yes – websites see the VPN server's address instead of yours. But only if the VPN covers all your traffic, including IPv6, WebRTC and DNS. Those three are where most leaks happen.

Hidden vs. still visible

A working VPN hidesA VPN does not hide
Your real public IP addressAccounts you are logged into (Google, Facebook, your bank)
Your approximate location and provider nameCookies and browser fingerprint
Which websites you open – from your provider and the Wi-Fi ownerYour traffic from the VPN company itself

The last row matters: a VPN does not remove trust, it moves it from your provider to the VPN company. That is why the choice of provider matters more than the number of servers it advertises.

Test your VPN in five minutes

  1. With the VPN off, open MonIP and note the IPv4 address, the IPv6 address and the provider.
  2. Turn the VPN on and reload. Both addresses and the provider must change. If the IPv6 line still shows your provider, you have an IPv6 leak.
  3. Open the VPN check. It should flag the connection as a VPN or data-center network.
  4. Run the WebRTC leak test. Your home address must not appear.
  5. Run the DNS leak test. If the DNS servers belong to your own provider, your domain lookups bypass the VPN.

Fixing the usual leaks

IPv6 leak

Turn on “IPv6 leak protection” in the VPN app, or – if the app has no such option – disable IPv6 on the network adapter while you use the VPN.

WebRTC leak

Browsers reveal addresses for video calls through WebRTC. Most VPN browser extensions block it; in Firefox you can also set media.peerconnection.enabled to false in about:config.

DNS leak

Enable the VPN's own DNS servers in its settings and turn off “Secure DNS” in the browser if it points to another service.

Drop-outs

Turn on the kill switch. When the VPN connection drops, it stops all traffic instead of quietly falling back to your real address.

Sources

  1. RFC 8826 – Security Considerations for WebRTC
  2. Mozilla – WebRTC preferences in Firefox
How to change your IP addressFive ways to get a new IP address – router restart, another network, VPN, Tor or your provider – with how long each takes and what it costs. IPv4 vs IPv6: what is the difference?Why there are two kinds of IP addresses, how they differ in practice, and whether you need to do anything about IPv6. How to find your router's IP addressFind your router's address (often 192.168.0.1 or 192.168.1.1) on Windows, Mac, Android and iPhone, with the defaults of common router brands. What can someone find out from your IP address?What your IP address reveals – provider, rough location, connection type – what it does not, and the real risks if someone knows it. Static vs dynamic IP addressThe difference between a static and a dynamic IP address, how to tell which one you have, and when paying for a static IP makes sense. How to find your printer's IP addressFind the IP address of a network printer on its display, a printed configuration page, Windows, Mac or the router – and stop it from changing. What is CGNAT – and how to tell if you are behind itCarrier-grade NAT lets many customers share one public IP address. How to recognise it in two minutes, what it breaks and how to get around it. Port forwarding not working? A checklistEight reasons why a forwarded port still shows as closed – CGNAT, double NAT, firewalls, a wrong local IP – checked in the order that finds the cause fastest. Why is my IP address blacklisted – and how to get it removedWhat IP blacklists (DNSBL) are, why an ordinary home address ends up on them, which listings you can ignore and how to request removal. How to find out who owns an IP addressFind the provider, organisation and abuse contact behind any IP address with WHOIS, ASN and reverse DNS – and where the trail stops. Best public DNS servers – and how to change DNSCloudflare, Google, Quad9 and AdGuard DNS compared – addresses, filtering, privacy – with step-by-step instructions for router, Windows, Mac, Android and iPhone. MonIP vs WhatIsMyIPAddress.com – comparisonHow MonIP and WhatIsMyIPAddress.com compare: languages, tools, data sources, API – and which one fits which job. MonIP vs IPLocation.net – comparisonHow MonIP and IPLocation.net compare: languages, location data from one or several providers, network tools and API. MonIP vs WhatIsMyIP.com – comparisonHow MonIP and WhatIsMyIP.com compare: languages, tools, e-mail diagnostics, API pricing and accounts.