WebRTC connection setup can show IP addresses to JavaScript. The public address is the one a STUN server sees: your VPN’s address if the VPN carries this traffic.
WebRTC IP leak test: which addresses JavaScript can see
new RTCPeerConnection() and a STUN server, JavaScript on any page can collect the IP addresses your browser would use for a video call. If one of them is your real public address while you use a VPN, the VPN is not carrying WebRTC traffic.Live test
This card shows only the webrtc ip leak result. To see all six fingerprint surfaces at once, use the full browser fingerprint test.
What is a WebRTC IP leak?
WebRTC's ICE (Interactive Connectivity Establishment) protocol gathers candidates for peer-to-peer connections. Each candidate includes one of your addresses: host candidates describe your local network address (e.g. 192.168.1.42), srflx candidates show your public IP as a STUN server sees it, and relay candidates use a TURN server.
Modern Chrome replaces local addresses in host candidates with random .local (mDNS) names, so the local address usually stays hidden. The srflx candidate still shows the public IP the STUN server sees. With a VPN that routes all traffic, that is the VPN's address. With split tunneling, or a VPN that does not carry this traffic, it can be your real address.
How the test works
The test creates an RTCPeerConnection with stun:stun.l.google.com:19302 as the ICE server, opens a dummy data channel, calls createOffer() and setLocalDescription(), and listens for onicecandidate events for 1.5 seconds. Each candidate string is searched for IPv4 addresses. Private ranges (10.x, 192.168.x, 172.16-31.x, plus link-local and carrier-grade NAT ranges) are shown as local, and the rest as public.
The test reads IPv4 addresses only, and .local names are counted as candidates but not listed. This check sends one request to Google's public STUN server, which is how it learns your public address. Compare the public IP shown here with the address your VPN reports.
How to stop WebRTC IP leaks
Start with your VPN: a VPN that routes all traffic, including UDP, gives the STUN server the VPN's address. In the browser, you can turn off WebRTC (this breaks video calls in the browser) or limit which network interfaces WebRTC may use. Chrome supports this through its WebRTC IP handling policy, which extensions and managed browser settings can set.
Browser Leaks Fingerprint Shield is a Chrome extension that includes a WebRTC protection option. Its Chrome Web Store page describes how it works.
WebRTC IP leak questions
Why does the test show an IP address while my VPN is on?
What is mDNS / .local in WebRTC?
Does disabling WebRTC entirely fix this?
Is this test the same as a VPN provider's WebRTC leak test?
Run the full browser fingerprint test.
See your combined hash across all six surfaces: canvas, WebGL, audio, WebRTC, Client Hints and User-Agent.
Open the browser fingerprint test →