๐ช๐๐๐ฅ๐ง๐ ๐๐ฃ ๐๐๐๐๐ฆ: ๐ฌ๐ข๐จ๐ฅ ๐ฉ๐ฃ๐ก ๐๐ฆ ๐ก๐ข๐ง ๐๐ก๐ข๐จ๐๐
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:
- Firefox: Go to about:config. Set media.peerconnection.enabled to false.
- Chrome: Install uBlock Origin. Enable WebRTC leak protection.
- Brave: Go to settings. Set WebRTC IP Handling Policy to Disable non-proxied UDP.
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:
- Turn on your VPN.
- Open the browser console.
- Run a WebRTC detection script.
- Check the results.
If you see an IP not from your VPN, you have a leak.