BROWSY ANTYby AGR Buy on Telegram
Proxies and IP

WebRTC Leak: How Your Real IP Escapes the Proxy, and How to Stop It

By AGR · · 3 min read

WebRTC Leak: How Your Real IP Escapes the Proxy, and How to Stop It

A WebRTC leak happens when a website learns your real IP address although your browser uses a proxy. WebRTC is the technology behind video calls in the browser. To find the fastest way between two people it asks for all addresses of your computer, and it does not always ask through the proxy.

How it works

  1. A page creates a call connection. No camera permission is needed for this step.
  2. The browser asks a STUN server: "Which address do you see?"
  3. That question uses UDP. Most HTTP proxies carry only TCP, so the question may travel outside the proxy.
  4. The answer contains your real address, and the page can read it.

Your local address (192.168.x.x) used to be visible as well. Modern browsers hide it behind a random name ending in .local.

Test it in one minute

Open a WebRTC test page (for example the one of BrowserLeaks) in the profile. You should see the proxy's address or none at all. If your own provider's address appears, there is a leak.

Ways to close it

MethodResult
Disable WebRTCNo leak, but calls do not work and the missing feature is unusual
ExtensionWorks in pages, often not in workers or in the first second
Browser policy "proxied only"The engine itself sends nothing outside the proxy
Replace the addressPages see the proxy's address as in a normal home connection

The strongest protection sits in the engine, not in a script.

How BROWSY ANTY does it

With a proxy, a profile uses the engine's own rule: no WebRTC traffic outside the proxy. The address that pages see is the proxy's exit address, as it would be in a normal home. The launch check and the self-test look for any other address and report it.

One engine is a special case. WebKit on Windows plays videos outside the proxy, so BROWSY ANTY asks first before a WebKit profile with a proxy opens.

Fingerprint tab: every value of a profile, automatic or your own
WebRTC settings of a profile Version 1.1.3, demo data.

A worked example

A profile has a proxy in Madrid. The WebRTC test page shows two addresses: one in Madrid and one of a provider in Rabat. The second came over UDP, around the proxy. To the website this is a visitor with two homes. If it only logs one of them, it is usually the second.

After switching WebRTC to the proxied-only rule, the page shows the Madrid address, or none. Video calls still work where the proxy can carry them.

What the settings in BROWSY ANTY mean

SettingUse it when
Replace with proxy IPnormal case, recommended
Disable WebRTCyou never use calls and accept that it is unusual
Realprofile without a proxy

Frequently asked questions

Does a VPN stop WebRTC leaks?

A good VPN carries all traffic, including UDP, so the address is the VPN's. A browser proxy carries only the browser's normal traffic.

Do I need WebRTC at all?

For Google Meet, WhatsApp calls or Discord in the browser, yes.

Is the .local address a leak?

No. It is a random name that says nothing about your network.

Can a leak happen in a worker?

WebRTC lives in pages and frames. Frames of other sites must be covered as well, and in the engine they are.

Do mobile proxies leak less?

No. The leak has nothing to do with the kind of proxy.

Tools for this

Leaks: WebRTC, DNS, portsProxiesPrivacyFingerprint tests

Try BROWSY ANTY

Many browser profiles on Windows, each aligned with its proxy. Try it free for a day with one profile, no account needed.