Test whether WebRTC inside your browser is leaking your real public IPv4, IPv6, or private LAN address behind your VPN or proxy.
No unauthorized public IP addresses or private LAN network leaks were found.
The public IP address reported by web servers when making standard HTTPS requests.
IPs discovered via peer-to-peer STUN communication directly in your browser.
Internal router addresses (e.g. 192.168.x.x) or mDNS hostnames masked for privacy.
WebRTC (Web Real-Time Communication) is an HTML5 technology that enables web browsers to establish direct voice, video, and P2P data connections without plugins.
To establish direct connections through NAT firewalls, WebRTC sends STUN requests to external servers. In many unpatched browsers or misconfigured VPNs, WebRTC bypasses the encrypted VPN tunnel and sends your real ISP IP address directly to any website you visit with just a few lines of JavaScript!
Type about:config in the address bar. Search for media.peerconnection.enabled and toggle it to false.
Chrome does not have a built-in switch. Install a privacy extension like WebRTC Leak Prevent or uBlock Origin and enable 'Prevent WebRTC from leaking local IP addresses'.
Navigate to brave://settings/shields and set WebRTC IP Handling Policy to Disable Non-Proxied UDP.
WebRTC (Web Real-Time Communication) enables direct peer-to-peer audio, video, and data communication inside modern web browsers without plugins. To connect two browsers located behind Network Address Translation (NAT) routers and firewalls, WebRTC uses the Interactive Connectivity Establishment (ICE) protocol (RFC 8445) and Session Traversal Utilities for NAT (STUN, RFC 5389).
During ICE negotiation, your browser sends UDP packets directly to external STUN servers to discover its public endpoint. If you are using a browser proxy or basic VPN that does not capture raw UDP traffic, your browser will route these STUN queries through your default internet gatewayโleaking your true home ISP IP address directly to any website running simple JavaScript.
Enable your VPN client, browser extension, or encrypted proxy tunnel on your desktop or mobile device.
Allow the page to query WebRTC RTCPeerConnection and send low-level UDP STUN candidate requests.
If the WebRTC candidate matches your ISP home IP rather than your VPN tunnel IP, your connection is suffering from a WebRTC STUN leak.
Inspect vulnerability status and resolution steps across all major operating systems:
| Browser / Client | Default Vulnerability | Risk Level with Proxy | Recommended Fix |
|---|---|---|---|
| Google Chrome / Edge | Enabled by default | High (Leaks on browser proxies) | Install WebRTC Leak Prevent or system-level WireGuard VPN |
| Mozilla Firefox | Enabled by default | Moderate | Toggle media.peerconnection.enabled = false in about:config |
| Brave Browser | Fingerprinting protection enabled | Low | Settings > Shields > WebRTC IP Handling > Disable Non-Proxied UDP |
| Apple Safari (macOS / iOS) | Protected ICE candidate policy | Low | iCloud Private Relay or system VPN |
Complete guide to browser STUN protocols, ICE candidates, and fixing IPv4/IPv6 exposure across all major browsers.
A WebRTC leak occurs when a website uses JavaScript to query browser STUN servers (RFC 5389). STUN requests operate outside of the standard browser HTTP proxy layer, causing your real public ISP IP and local LAN IP (e.g., 192.168.x.x) to be transmitted directly to the requesting website.
Many simple browser extensions only act as an HTTP/HTTPS proxy. They do not intercept low-level UDP packets used by WebRTC audio/video sessions. Only full-system VPN client software with built-in WebRTC leak blocking can reliably seal these leaks.
In Firefox, set 'media.peerconnection.enabled' to 'false' in about:config. In Chrome, Brave, and Edge, install a dedicated extension such as WebRTC Leak Prevent or uBlock Origin with 'Prevent WebRTC from leaking local IP address' checked.
Historically yes; older browsers leaked local network IP addresses (RFC 1918). Modern browsers now use mDNS (multicast DNS) to obfuscate local IP addresses into UUID strings (.local), but public IPv4 and IPv6 addresses can still leak if UDP traffic is unproxied.