What is a WebRTC leak?
WebRTC is the technology behind video calls and file sharing directly in the browser. To connect two people, the browser lists every network address it can be reached at, and any web page can ask for that list with a few lines of JavaScript, without any permission prompt.
Two things can leak this way. Your address on your home or office network (such as 192.168.1.20) adds detail to your fingerprint. More seriously, behind a VPN or a proxy, WebRTC can reveal the real public IP address of your connection: the very address the VPN is supposed to hide.
How this test works
Your browser opens a WebRTC connection to a public STUN server (Cloudflare's) and collects the addresses it would offer to a peer. No call is made and nothing is sent to anyone else.
Local addresses count as a leak. Public addresses are compared with the one our server sees: if they differ, your VPN or proxy doesn't cover WebRTC. Recent browsers usually replace the local address with a random name ending in .local, which hides it.
How to fix it in each browser
Chrome
Install WebRTC Network Limiter, Google's official extension, from the Chrome Web Store. Step by step →
Firefox
Install uBlock Origin, then tick “Prevent WebRTC from leaking local IP addresses” in its settings. Step by step →
Safari
Safari normally hides local addresses: update Safari and your system to the latest version. Step by step →
Edge
Install WebRTC Network Limiter, Google's official extension, from the Chrome Web Store (Edge accepts its extensions). Step by step →
Brave
Open Settings → Privacy and security → WebRTC IP handling policy and choose “Disable non-proxied UDP”. Step by step →
Opera
Open Settings → Privacy and security → WebRTC and choose “Disable non-proxied UDP”. Step by step →