WebRTC leak

A WebRTC leak is when the browser tells a site your real IP address, bypassing the proxy.

Updated · Prokso editorial team

WebRTC is a browser technology for calls and video right on a page. To connect two people, the browser finds out its own network addresses and may pass them to the site.

The request for these addresses does not travel the way a normal page load does, and with some settings it bypasses the proxy. The site gets your real address even though the page is opened through a proxy.

You can check this on the WebRTC leak test page: it shows which addresses a site sees.

In antidetect browsers WebRTC usually adjusts to the proxy address automatically. In a regular browser it is turned off with a setting or an extension.

How to read the test result

The WebRTC leak test asks the browser for its network addresses the same way a site would. Open it through the proxy and compare the public address in the result with the proxy IP shown on My IP. If they match, or the test finds no public address at all, there is no leak.

If the result shows your home IP, the leak is real, even though pages load through the proxy. Local addresses such as 192.168.x.x or names ending in .local are a separate case: they reveal the layout of your home network, not your public IP, and modern browsers often hide them on their own.

How to close the leak

In Firefox WebRTC is turned off on the about:config page with the media.peerconnection.enabled setting. Chrome has no such switch in its menu, so people install an extension that restricts WebRTC. In antidetect browsers choose the mode that substitutes the proxy IP. After any change run the test again: one wrong setting is enough for the leak to come back.

Check every browser and every profile separately. Settings in one do not carry over to the others, and a browser or extension update sometimes resets them.

Why calls through a proxy may not work

WebRTC sends voice and video mostly over UDP. Prokso proxies do not support UDP, so video calls in the browser through the proxy may fail to connect. This is not a setup error: for calls, use a connection without the proxy. If WebRTC is fully turned off in a profile, sites with calls or screen sharing will not work either, and that is expected.

Further reading

FAQ

How do I know if there is a leak?

Open the WebRTC leak test through the proxy. If the result shows your real address, there is a leak.

Can a leak happen without calls or video?

Yes. A site can request addresses through WebRTC in the background, even if you did not turn anything on.

Residential $1.59, mobile $2.50, datacenter $0.65 per GB

Sign up in a minute, get access right after payment.

Create account

Install the Prokso app