1. Home
  2. Guides
  3. What is a WebRTC leak, and how do you stop it?
Guide · · 2 min read

What is a WebRTC leak, and how do you stop it?

WebRTC powers video calls in your browser, but it can also expose your real IP address to any website, even while you are connected to a VPN or proxy.

How the leak happens

To set up direct audio and video connections, WebRTC asks your device for all of its network addresses and can send them to the website through a "STUN" request. In some setups, especially browser proxies, that request goes around the VPN and reveals your real public IP.

How to test

  1. Connect to your VPN.
  2. Visit a WebRTC leak test site (search "WebRTC leak test").
  3. If any listed public IP is your real one rather than the VPN's, you have a leak.

How to stop it in Chrome

  • Use an extension that controls WebRTC. The ZelaVPN extension sets Chrome's WebRTC policy to send traffic only through the proxy while you are connected.
  • Use a system-wide VPN. A full VPN app such as ZelaVPN for Android routes all traffic, including WebRTC, through the tunnel.

Other browsers

  • Firefox: open about:config and set media.peerconnection.enabled to false. This disables WebRTC entirely, which breaks browser video calls.
  • Brave: Settings → Privacy and security → WebRTC IP handling policy → "Disable non-proxied UDP".
  • Edge: Chromium-based, so extensions like ZelaVPN's work the same way as in Chrome.
  • Safari: doesn't expose local addresses to websites by default.

Why the leak matters

A VPN or proxy is only useful if websites can't see past it. A WebRTC leak hands any website your real public IP, and with it your approximate location and internet provider, without asking permission. It also lets sites link your VPN sessions to your real identity. That is why WebRTC protection is switched on automatically whenever the ZelaVPN extension is connected.

Local IP vs public IP leaks

Modern Chrome hides your local network address (such as 192.168.x.x) behind a random ".local" name. The serious problem is the public IP leak through STUN, which is what the steps above prevent.

Frequently asked questions

Does a WebRTC fix break video calls?

No. Calls still work; they are routed through the VPN or relay servers instead of directly.