WebRTC can reveal your real IP address to websites - even behind a VPN. This test gathers your browser's ICE candidates via public STUN servers and checks whether any expose an IP your VPN should be hiding.
WebRTC enables direct peer-to-peer connections in the browser for video calls, file sharing, and gaming. To find the best path between peers, it runs the ICE process, which gathers candidate addresses for your device.
To discover your public-facing address, WebRTC queries a STUN server, which reports back the IP it sees - your real public IP. Because this happens at the browser level, it can bypass a VPN that only tunnels regular traffic, exposing the address the VPN is supposed to hide.
Web pages can read these candidates with a few lines of JavaScript, with no permission prompt.