What Is WebRTC?
WebRTC (Web Real-Time Communication) is built into modern browsers (Chrome, Firefox, Safari, Edge) for peer-to-peer audio, video, and file sharing without plugins. Google Meet, Discord, and Facebook Messenger use WebRTC.
To establish connections, WebRTC uses ICE (Interactive Connectivity Establishment) that discovers all network interfaces and IP addresses — including your local and public IPs. This can reveal your real IP address to websites even when using a VPN.
WebRTC IP Leaks
A WebRTC leak occurs when a website uses WebRTC APIs to discover your real IP, bypassing the VPN. JavaScript can trigger STUN requests that reveal both local and public IP addresses. Since WebRTC uses its own network path, standard VPN routing may not catch these requests.
VPNWG WebRTC Protection
VPNWG's full-tunnel WireGuard configuration routes all traffic through the VPN, including WebRTC STUN requests. When properly configured, any IP discovered through WebRTC will be the VPN server's IP. We also recommend disabling WebRTC in browser settings. Run the WebRTC Leak Test.