Loading, it may take a while for the first time. Please wait…

InstantIPCheck.com

WebRTC Leaks Explained: How to Test and Disable WebRTC in Every Browser

WebRTC powers browser video calls and peer-to-peer apps without plugins, but its STUN discovery step can reveal local LAN or real ISP IP addresses right through a VPN or proxy. Here is how WebRTC leaks happen and how to stop them.

Quick steps

  1. Connect your VPN or proxy and open InstantIPCheck.com.
  2. Inspect the WebRTC Leak Test card under IP details.
  3. Confirm neither your real ISP IP nor raw LAN IP appears as a candidate.
  4. If a leak appears, switch WebRTC IP handling to “Disable non-proxied UDP” or disable WebRTC, then reload to verify.

What is WebRTC and why does it leak IP addresses?

Web Real-Time Communication (WebRTC) is a standard API built into Chrome, Firefox, Safari, Edge and Brave so web apps can stream audio, video and files peer-to-peer with low latency.

To connect two browsers directly across NAT routers, WebRTC uses Interactive Connectivity Establishment (ICE) and STUN servers to collect candidate IP addresses for your device. A website can run a few lines of JavaScript to request those ICE candidates silently — no camera or microphone prompt required.

If a browser proxy only covers HTTP/HTTPS traffic (or a VPN fails to intercept UDP STUN packets), WebRTC may return your real ISP public IP or private LAN IP (192.168.x.x / 10.x.x.x) directly to the page.

How to interpret InstantIPCheck’s WebRTC leak test

Open InstantIPCheck.com and look at the WebRTC card right below your IP report (or visit the WebRTC Leak Test guide). The test queries STUN endpoints and lists every candidate your browser exposes alongside the detected NAT behavior.

Compare every address shown with your homepage public IP. Seeing only your VPN’s exit IP, an anonymized .local mDNS hostname, or “WebRTC disabled / blocked” is protective. Seeing your home ISP’s public IP while your VPN is active confirms a real WebRTC leak.

What mDNS (.local) candidates mean

Modern versions of Chrome, Safari, Firefox and Edge replace private LAN IPv4 addresses with random multicast DNS hostnames ending in .local (for example, a1b2c3d4.local) unless you have granted microphone or camera permission.

That prevents casual local-network enumeration, yet it does not stop a server-reflexive (srflx) public IP leak if UDP traffic bypasses a browser proxy or split-tunnel VPN.

How to disable or restrict WebRTC in major browsers

If you do not rely on browser-based calls (Google Meet, Zoom web client, Discord web), disabling or tightening WebRTC removes the leak surface completely. If you do use web calls, choose a policy that restricts WebRTC to proxied routes rather than killing it outright:

  • Firefox: Open about:config, search for media.peerconnection.enabled, and toggle it to false to disable WebRTC entirely. For softer protection that keeps calls working over a VPN, set media.peerconnection.ice.default_address_only to true.
  • Brave: Go to Settings → Privacy and security → WebRTC IP handling policy, and choose “Disable non-proxied UDP” (recommended for proxies/VPNs).
  • Chrome & Edge: Built-in settings do not expose a full off toggle; use a trusted VPN desktop app that routes all UDP traffic, or install a vetted WebRTC IP handling policy extension set to “Disable non-proxied UDP”.
  • Safari (macOS & iOS): Safari hides local IPs by default and restricts candidate exposure until media permission is granted; pair it with a system-wide VPN tunnel rather than an HTTP-only proxy.

WebRTC protection when using browser extensions vs system VPNs

Browser-only proxy extensions are the #1 source of WebRTC leaks because they proxy HTTP/HTTPS while leaving raw UDP STUN traffic on your ISP interface. A full-device WireGuard or OpenVPN client routes UDP through the tunnel too, preventing server-reflexive public IP leaks even when WebRTC remains enabled for video calls.

WebRTC controls by browser

BrowserRecommended Privacy SettingBreaks Web Calls?
Firefoxmedia.peerconnection.enabled = falseYes (use ice.default_address_only to keep calls)
BraveWebRTC IP handling → Disable non-proxied UDPRarely (falls back to TCP/TURN)
Chrome / EdgeSystem-wide VPN or “Disable non-proxied UDP” policyNo with system VPN
SafariDefault mDNS masking + system-wide VPNNo

Frequently asked questions

My WebRTC test says “Not supported” or shows no IP — is that bad?

No! For privacy testing, blocking WebRTC or returning zero candidates is a strong protective result — it means websites cannot harvest IP candidates through STUN.

Does Incognito or Private Browsing stop WebRTC leaks?

No. Incognito mode isolates cookies and history locally, but WebRTC still uses the same network interfaces and STUN behavior.

Why does WebRTC leak even when my HTTP proxy is active?

Most HTTP and SOCKS proxies inside browsers only proxy web page fetches, leaving WebRTC UDP packets to route directly over your ISP connection unless non-proxied UDP is disabled.

Related resources