proxychains-ng icon indicating copy to clipboard operation
proxychains-ng copied to clipboard

How to prevent WebRTC IP leaks?

Open hamed98 opened this issue 11 months ago • 2 comments

Hello I have noticed that my real ip could be leaked by WebRTC protocol.(https://browserleaks.com/webrtc), even my browser is opened behind proxychains. Is there any solution to fix that or block the webrtc protocol in the proxychains settings?

hamed98 avatar Mar 11 '24 17:03 hamed98

seems unlikely. proxychains only sees either a connection attempt, or a DNS resolve attempt. even if we would intercept writes to the TCP socket (with the intention of filtering out WebRTC related stuff), this would only work for plaintext HTTP sites - and these days 95% of pages use HTTPS. implementing this only for the few sites that still use plain HTTP seems like a waste of time. a better solution is to run a MITM proxy like owasp whose certificate you can install in the browser and implement the filtering there. or you just set your browser to not do it - like described in your link, or use a privacy-respecting browser like palemoon.

rofl0r avatar Mar 11 '24 18:03 rofl0r

Thank you @rofl0r I got the idea

hamed98 avatar Mar 11 '24 18:03 hamed98