Explainer

What is a VPN leak? WebRTC and IPv6 leaks explained

How VPNs leak your real IP address through WebRTC and IPv6, how to test for leaks, and how to fix them in your browser and VPN settings.

Updated 21 November 2026 · 2 min read

A VPN leak happens when your real IP address escapes the VPN tunnel, so websites can see it even though the VPN says you are connected. The two most common leaks are WebRTC and IPv6.

WebRTC leaks

WebRTC is the browser technology behind video calls. To connect calls directly, it asks a STUN server "what is my public IP?" — and in some setups that request bypasses the VPN, exposing your real address to any website that runs a few lines of JavaScript.

How to fix it:

  • Use a VPN app with built-in WebRTC leak protection and keep it updated.
  • In Firefox, set media.peerconnection.enabled to false in about:config (this disables video calls in the browser).
  • In Chrome and Edge, use your VPN's browser extension or an extension that limits WebRTC to the proxied connection.

IPv6 leaks

Many VPNs only tunnel IPv4 traffic. If your connection also has IPv6, sites that support IPv6 can reach you directly over your real IPv6 address — completely outside the VPN.

How to fix it:

  • Turn on IPv6 leak protection (sometimes called "block IPv6") in your VPN app.
  • Choose a VPN that fully supports IPv6 through the tunnel.
  • As a last resort, disable IPv6 in your device's network settings while using the VPN.

Other signs your VPN is not hiding you

  • Your timezone does not match the VPN location — websites can compare the two.
  • Your browser language and keyboard settings differ from the VPN country.
  • The VPN disconnected briefly and your apps reconnected without it. A kill switch prevents this.

How to test

Run our one-click Is my VPN working? check with the VPN on. It checks whether your IP belongs to a VPN or data-center network, runs WebRTC and IPv6 leak tests, compares your timezone with your IP location and tells you exactly what to fix. Run it once with the VPN off first, so you know what your real IP looks like.

All tools

Look up

Privacy & VPN

Network tools

More