How to stop WebRTC leaks in Brave

Brave protects WebRTC better than most browsers, and one setting lets you go further: the WebRTC IP handling policy, which decides which network routes WebRTC may use and therefore which addresses it can reveal.

Choose the strictest option, then check it with the test below.

Testing your browser…

How to do it in Brave

  1. Type brave://settings/privacy in the address bar, or open Settings → Privacy and security.
  2. Find “WebRTC IP handling policy”.
  3. Choose “Disable non-proxied UDP”: WebRTC then only goes through your proxy or VPN and never reveals your real address. If a video call fails, “Default public interface only” is a good compromise.
  4. Reload this page and check the result.

Why WebRTC can leak your IP address

WebRTC lets your browser connect directly to another device, for video calls and file transfers. To find a route, it asks a STUN server which public address you are seen from, and lists the addresses of your network interfaces. Any website can start this from a script, without asking you and without showing anything on screen.

Two things can come out. Your local address on your home or office network (192.168.x.x or similar), which most browsers now hide behind a random name ending in .local. And your public IP address: with a VPN that covers the whole device, WebRTC normally sees the VPN's address, but with a VPN browser extension, a proxy or split tunnelling, WebRTC can go around it and reveal the real address of your connection.

Switching WebRTC off completely breaks video calls in the browser (Google Meet, Teams or Discord on the web). Restricting it to the route your VPN or proxy uses stops the leak; calls usually keep working, sometimes with lower quality. If a call fails, choose the less strict option given in the steps.

Go further

The same fix in other browsers

Run the full test: 7 checks and your own action plan