๐—ช๐—˜๐—•๐—ฅ๐—ง๐—– ๐—œ๐—ฃ ๐—Ÿ๐—˜๐—”๐—ž๐—ฆ: ๐—ฌ๐—ข๐—จ๐—ฅ ๐—ฉ๐—ฃ๐—ก ๐—œ๐—ฆ ๐—ก๐—ข๐—ง ๐—˜๐—ก๐—ข๐—จ๐—š๐—›

Your VPN hides your IP address. But WebRTC reveals it.

WebRTC helps browsers share audio and video. It uses a system called ICE to find network paths.

The leak happens during the STUN step. The browser asks a server for your public IP. This request often bypasses your VPN.

Websites use this to find your real location.

How to stop it:

For developers:

Use iceTransportPolicy: relay. This forces traffic through a TURN server. It stops the leak. It adds latency but keeps users safe.

How to test your browser:

If you see an IP not from your VPN, you have a leak.

Source: https://dev.to/ricco020/detecting-webrtc-ip-leaks-in-the-browser-how-it-works-and-how-to-test-it-2jg7