Notification
Go to Home All Tools Compare Glossary Blog Contact

WebRTC Leak Test

Check whether WebRTC exposes your real IP address while using a VPN or proxy. Inspect WebRTC, STUN, IPv4 and IPv6 exposure directly in your browser.

VPN Mode Configuration:

WebRTC Diagnostic Verdict

Ready
Click "Start WebRTC Leak Test" to Begin

Probes browser RTCPeerConnection API and compares normal HTTP IP against STUN reflexive candidates in 2–5 seconds.

Normal Connection IP
IPv4: Not Detected
IPv6: Not Detected
WebRTC Discovered IP
IPv4: Not Detected
IPv6: Not Detected
Public IP Mismatch: No
WebRTC API Support: Supported
STUN Reachability: Checking...
Diagnostic Confidence: High
Diagnostic Explanation

WebRTC candidate probing will inspect active STUN reflexive responses and compare discovered public addresses against your normal HTTP communication interface.

Browser API Support Panel

RTCPeerConnection Supported
RTCDataChannel Supported
MediaDevices Supported
STUN Servers Reachable

Note: This diagnostic tests network candidate signals only. It does NOT request camera or microphone permissions.

ICE Candidates (0)

Type Proto Family Address STUN Source
No candidates gathered yet. Click "Start WebRTC Leak Test".
Privacy

AI Network Privacy Advisor

Ask AI
Education

Understanding WebRTC Security, Peer-to-Peer APIs & IP Privacy

01

What is WebRTC?

WebRTC (Web Real-Time Communication) is an open W3C standard allowing browsers to establish direct peer-to-peer video, audio, and data streams.

02

How WebRTC ICE Candidates Can Leak IPs

To establish P2P connections, WebRTC queries STUN servers to discover your public and local IP addresses, which can bypass VPN tunnels.

03

Detecting Public vs. Private IP Exposure

Our test inspects all generated ICE candidate SDP strings to identify whether your real ISP IP or local subnet address is exposed to web pages.

04

Mitigating & Blocking WebRTC Leaks

Prevent leaks by installing browser WebRTC control extensions, disabling WebRTC media device permissions, or configuring VPN desktop client leak rules.

Good to know

Questions, answered

Quick answers about how this tool works.

A WebRTC leak occurs when your web browser's WebRTC API exposes your real public or private IP address to websites even while connected to an active VPN or proxy service.

Click "Start Test" on this page. The tool queries STUN servers via RTCPeerConnection and compares gathered public IP candidates against your normal HTTP connection address.

Yes, if your VPN software or browser configuration does not properly route or block WebRTC STUN requests, WebRTC can reveal your ISP-assigned IP address.

WebRTC can bypass a VPN if the VPN lacks WebRTC leak protection or if browser extensions allow direct STUN binding requests outside the VPN interface.

What Is a WebRTC Leak?

A WebRTC leak occurs when your web browser's WebRTC (Web Real-Time Communication) framework exposes your true public or private IP address to web applications even while operating behind an encrypted Virtual Private Network (VPN) or proxy. Because WebRTC establishes peer-to-peer data channels outside standard HTTP request loops, unconfigured browsers may bypass VPN routing tables when gathering connectivity candidates via STUN (Session Traversal Utilities for NAT) servers.

How Does WebRTC Expose IP Addresses?

To establish direct audio, video, or data connections between two browser endpoints without requiring relay server bandwidth, WebRTC uses the Interactive Connectivity Establishment (ICE) protocol. During candidate gathering, your browser sends STUN requests to public STUN servers. These STUN servers reflect back the public IP address and port combination that received the packet. If your VPN does not redirect or block these STUN requests, your ISP-assigned IP address is returned directly to the browser script.

How to Test for a WebRTC Leak

To test your connection accurately:

  1. Connect to your Virtual Private Network (VPN) or proxy service.
  2. Launch this WebRTC Leak Test tool to initiate candidate gathering.
  3. Compare the Normal Connection IP (HTTP request IP) against the WebRTC Discovered IP (STUN reflexive candidates).
  4. If the WebRTC IP reveals your true location or ISP address instead of your VPN exit address, a WebRTC IP leak is present.

What Is an ICE Candidate?

An ICE candidate is a descriptor containing a transport address (IP address and port) that a WebRTC endpoint can use to communicate with a peer. ICE candidates are divided into four primary types:

  • host: Local network interface addresses bound directly to your physical or virtual network adapters.
  • srflx (Server Reflexive): Public IP addresses discovered by querying external STUN servers.
  • prflx (Peer Reflexive): Addresses discovered during direct peer-to-peer connectivity checks.
  • relay: Transport addresses allocated by TURN (Traversal Using Relays around NAT) servers when direct peer connectivity fails.

What Is STUN?

STUN (Session Traversal Utilities for NAT) is a standardized network protocol defined in W3C RFC 5389. It enables clients operating behind NAT (Network Address Translation) routers to discover their public IP address, NAT mapping behavior, and external port assignments needed for peer-to-peer communications.

What Is an mDNS Candidate?

To prevent local network fingerprinting, modern web browsers implement Multicast DNS (mDNS) candidate masking. Instead of exposing raw private IPv4 addresses (such as 192.168.1.15), the browser generates a randomized UUID ending in .local (e.g. 5b7a12cd-3e41-4c12-88f1.local). Important: An mDNS candidate is a browser privacy feature designed to protect your internal network topology—it is NOT a public IP leak.

WebRTC and VPNs

Virtual Private Networks route your operating system's network packets through an encrypted tunnel to a remote exit server. However, browser WebRTC implementations can sometimes bind directly to physical local network interfaces, issuing STUN requests that bypass the virtual TAP/TUN adapter created by the VPN client.

Does WebRTC Bypass a VPN?

WebRTC does not inherently bypass modern, well-engineered VPN software that enforces strict routing hooks, TAP adapter bindings, or WebRTC protection modules. However, if you rely on a basic browser proxy extension or a VPN app lacking WebRTC leak protection, WebRTC STUN requests may easily bypass the proxy and expose your real public IP.

How to Fix a WebRTC Leak

If a WebRTC IP leak is detected during your test:

  • Enable WebRTC Protection or Leak Shield inside your desktop VPN settings.
  • Install trusted browser privacy extensions that restrict WebRTC candidate gathering to default proxy interfaces.
  • In Firefox, navigate to about:config, locate media.peerconnection.enabled, and set its value to false.

How Chrome Handles WebRTC IP Exposure

Google Chrome supports WebRTC IP handling policies that allow users and extensions to limit interface binding. Under default settings, Chrome attempts to gather candidates across all active interfaces. Extensions can configure Chrome to force WebRTC traffic through proxy interfaces or restrict candidate gathering to public IP addresses only.

How Firefox Handles WebRTC IP Exposure

Mozilla Firefox provides granular WebRTC privacy toggles. Users can completely disable WebRTC by setting media.peerconnection.enabled to false, or restrict candidate gathering using media.peerconnection.ice.default_address_only.

How Accurate Is a WebRTC Leak Test?

Browser-based WebRTC leak tests provide highly accurate diagnostic snapshots of browser network behavior at the exact moment of testing. However, browser updates, VPN client state changes, or network interface toggles can alter candidate exposure over time. A clean test result confirms that no WebRTC IP exposure was observed during the current diagnostic run.

Was this tool helpful?

Be the first to rate WebRTC Leak Test

Tap a star to rate instantly

What do you need to work out next?

Search 250+ free tools by name, or pick a category below. Every one runs instantly in your browser — no signup, nothing to install.