In plain English: you set up a proxy, open our My IP test, and it shows the proxy's address. Job done? Not always. A browser feature called WebRTC can quietly hand a website your real address anyway. That's a WebRTC leak. It's common, it's easy to test for, and in most browsers it takes a minute or two to fix.
What WebRTC is, and why it leaks
WebRTC (short for Web Real-Time Communication) lets websites set up direct connections between browsers, for video calls, voice chat and file sharing. To make a direct connection, the browser gathers a list of the addresses it can be reached on, and a website can ask for that list using JavaScript. Part of that process can bypass your proxy, so your real address can end up on the list.
Step 1: test before you change anything
With your proxy switched on, open our WebRTC leak test. If it shows only the proxy's address, or no public address at all, you're fine. If your real public address appears, carry on below.
Firefox: switch WebRTC off
- Type
about:configinto the address bar and accept the warning. - Search for
media.peerconnection.enabled. - Double-click it so the value reads
false.
That turns WebRTC off completely. The catch: video and voice calls inside the browser stop working until you switch it back.
Chrome and Edge: add an extension
Neither has a built-in switch for this, so an extension does the job:
- WebRTC Leak Prevent: lets you choose how WebRTC handles addresses. It offers several policies; when you're using a proxy, pick "Disable non-proxied UDP".
- WebRTC Network Limiter: Google's own extension, which does much the same.
Edge can install extensions from the Chrome Web Store, so both work there too.
Brave: use the built-in setting
Brave has the option built in: Settings → Privacy and security → WebRTC IP handling policy → "Disable non-proxied UDP".
Safari
Safari doesn't have a simple WebRTC switch in its normal settings, so test it rather than assume. If the leak test shows your real address, use Firefox or Brave for anything that needs to go through a proxy.
Multi-profile browsers
Browsers made for running several separate profiles, such as Multilogin, Dolphin Anty, GoLogin, Incogniton and Kameleo, usually include a WebRTC setting for each profile. Set it so WebRTC reports the proxy's address, then run the leak test in every profile. Our guide to multi-profile browsers explains when they're worth having.
For coders: Selenium, Puppeteer and Playwright
If you drive Chrome from a script, you'll often see these two launch flags recommended:
--disable-features=WebRtcHideLocalIpsWithMdns
--force-webrtc-ip-handling-policy=default_public_interface_only
Know what they do before you copy them. The first switches off a Chrome feature that hides your local, in-home addresses behind random names, so on its own it works against privacy. The second keeps those local addresses off the list, but your real public address can still show when only the browser is behind a proxy. To close the leak, give that same policy flag the value disable_non_proxied_udp instead, then run the test.
You'll also see plugins such as puppeteer-extra-plugin-stealth and playwright-stealth suggested. They're mainly designed to hide signs of automation, so don't count on them to close a WebRTC leak. Set the policy and check the result.
Check again after updates
Browser updates and new extensions can quietly undo these settings. After an update, run the WebRTC leak test again. You're looking for "no leak", or local addresses only.
Beginner questions
Does a VPN have the same problem?
Less often, because a VPN normally carries all of your device's traffic, WebRTC included. Some VPN apps still leak, though, and the same test works for them.
Will switching WebRTC off break websites?
Only the parts that use it: video calls, voice chat and some file sharing in the browser. Ordinary browsing carries on as normal.