WebRTC leaks, explained
Why WebRTC can show sites your real address behind a proxy, and how BlackBird keeps it on the proxy or turns it off.
BlackBird team · · 4 min read
You set up a proxy, open a test site, and the IP at the top is the right one. Further down, the WebRTC section shows your home address. That's a WebRTC leak, and a proxy on its own won't prevent it.
What WebRTC does
WebRTC is the part of a browser that sets up video calls and other direct connections between two browsers. Before two sides can talk, each one gathers the addresses it can be reached at, including its public address, which it usually learns by asking a STUN server. The media itself mostly travels over UDP.
A page doesn't have to start a call to use any of this. A few lines of script can ask the browser to gather those addresses and then read them, with no camera prompt and nothing else to warn you.
Why a proxy alone doesn't stop it
A proxy carries the browser's ordinary web traffic, the pages and requests that travel over TCP. WebRTC's address lookups and media usually go over UDP, and an HTTP or HTTPS proxy has no way to carry UDP. So unless the browser handles WebRTC separately, it goes out over your own connection, and the site gets the address you were hiding.
Turning WebRTC off everywhere would close the leak, but video calls and some identity-check apps would stop working. So BlackBird lets you choose per profile.
How BlackBird handles it
Every profile has a WebRTC card in the profile editor, right under Connection. All four modes follow one rule. WebRTC goes through the proxy or stays off, and your real address doesn't get past it.
| Mode | What it does |
|---|---|
| Auto | The default. With a SOCKS5 proxy that supports UDP, WebRTC goes through it. Otherwise it works like Protect. |
| Fake UDP | Reports the proxy's checked exit IP, but no real media travels over UDP. For sites that only check the address. |
| Protect | WebRTC stays available but never reveals a public address. A safe pick for sign-ups and verification. |
| Blocked | No peer connections at all. Video calls and some identity-check apps won't work. |
Which proxy can carry WebRTC
Only a SOCKS5 proxy with UDP support carries real WebRTC. The card's header tells you whether UDP works through the profile's proxy, and if not, why, for example Not a SOCKS5 proxy or Proxy has no UDP relay. A VPN tunnel carries WebRTC whatever the mode.
Our advice is short. If you have a SOCKS5 proxy with UDP, leave the profile on Auto. If you don't, Auto already keeps the address hidden. Reach for Blocked only when a profile will never need a call.
QUIC, the UDP-based connection behind HTTP/3, is off by default, so sites load over ordinary HTTPS through your proxy.
Location can give you away too
A site compares the address you come from with your time zone, your language and, if it asks, your location. A profile whose answers disagree stands out.
| Geolocation | What sites get |
|---|---|
| Protect | Nothing. The default. Sites can't read a location, as if you had declined. |
| Custom | A point you pick on the map. Accuracy radius sets how precise it looks, from 10 metres to 5 km. |
If you use Custom, put the point in the same city as the proxy. Country, time zone and language live in the Language card, and on Auto they follow the proxy's exit, even after you change the proxy.
Check a profile
Start the profile and open a test site such as browserleaks.com or pixelscan.net.
Compare the IP, time zone, language and WebRTC results with what you set.
The WebRTC section should show the proxy's address, or no public address at all.If it shows your real IP, change the mode.
Pick Protect or Blocked, or use a SOCKS5 proxy with UDP so Auto can carry WebRTC. Then make sure the BlackBird Network extension is on.
In a running session, the Session pane of the Control Center shows the WebRTC mode and UDP status. The full reference is in WebRTC, UDP and QUIC and Location, time zone and language.