Web Real-Time Communication aka WebRTC is an API that provides web browsers, IoT devices or mobile apps to talk to each other in peer-to-peer mode. Is mainly used in streaming and realtime environment.
To work, this API needs to communicate to its peers the real IP address of the machine. A possible attacker could then discover details of your local network even if you are connected behind a firewall or through a VPN.
It is important to prevent this leak!
let’s see how:
- Firefox: Navigate to about
:configand search for media.peerconnection.enabled then set it to false
- Chrome: search for HMA extension and disable WebRTC
- Opera: search for WebRTC Leak Prevent extension and select Disable non-proxied UDP (force proxy)
- Safari: disable legacy WebRTC API under Preferences, Advanced, Develop Menu.