What is my IP leaking? WebRTC, DNS and IPv6 leaks explained
You set a proxy or VPN, the site shows a new IP — and yet your real address can still escape through three side channels: WebRTC, DNS and IPv6. Here is exactly how each leak happens and how to close it.
WebRTC: the browser API that volunteers your address
WebRTC is the browser technology behind in-page video calls. To connect two peers directly it needs to know your candidate IP addresses, so it asks a STUN server for them — and it does this from inside the browser using UDP, often skipping the proxy entirely. A script on any page can read those candidates through the RTCPeerConnection API without permission, and among them may sit your real local and public IP.
SOCKS5 and HTTP proxies set at the application level do not capture this traffic, which is why a proxied browser can still leak. Fixes: disable WebRTC where you do not need it (in Firefox set media.peerconnection.enabled to false; in Chromium use an extension that forces proxied UDP or disables non-proxied ICE), or run the browser inside a full-tunnel VPN so even WebRTC's UDP leaves through the tunnel. Modern browsers also mask the local address behind an mDNS .local hostname, which helps but does not always cover the public candidate.
DNS and IPv6: resolved on the wrong path
A DNS leak happens when your device resolves hostnames through your ISP's resolver instead of through the tunnel. The page loads via the proxy, but the lookup that turned example.com into an IP went to your provider — so your ISP still sees every domain you visit. With proxies the cure is socks5h:// instead of socks5://, which asks the proxy to resolve remotely; with a VPN, DNS must be pushed inside the tunnel. Layering DNS over HTTPS or DNS over TLS hardens it further.
An IPv6 leak is the modern trap: your tunnel carries IPv4, but your OS still has native IPv6 connectivity, so any IPv6-capable site is reached directly, exposing your real v6 address. Either disable IPv6 while connected, or use a VPN that routes IPv6 too. See our DNS leak test guide and IPv6 proxies for the details.
Test everything, then trust it
Never assume; verify. Use the s4m privacy tools and a header-echo endpoint to confirm what a destination actually receives, and run a dedicated WebRTC/DNS/IPv6 leak test with your proxy or VPN active. Do it once for a browser profile and again whenever you change networks. For quick experiments the free proxy list is fine, but remember that a bare HTTP or SOCKS proxy protects only the traffic that goes through it — WebRTC and IPv6 are exactly the parts that do not. When leak-proofing across every app matters more than per-app control, a full-tunnel VPN is the more complete answer, and an authenticated proxy with socks5h handles the DNS half cleanly.
Questions, answered
Why does my IP leak through WebRTC even with a proxy?
Because WebRTC asks a STUN server for your address using UDP from inside the browser, on a different path than your proxied HTTP traffic. An application-level SOCKS5 or HTTP proxy never sees it. Disable WebRTC or run a full-tunnel VPN so that UDP also leaves through the tunnel.
How do I stop a DNS leak?
Resolve DNS remotely: use socks5h:// (not socks5://) so the proxy does the lookup, or a VPN that pushes DNS inside the tunnel. Adding DNS over HTTPS or DNS over TLS encrypts the lookup so your ISP cannot read the domains you request.
Is an IPv6 leak a real risk?
Yes. If your tunnel is IPv4-only but your OS has native IPv6, any IPv6-capable site is reached directly and exposes your real v6 address. Disable IPv6 while connected, or use a VPN that routes IPv6 as well as IPv4.
Verify your privacy, do not assume it
Route traffic through an authenticated s4m proxy with socks5h for clean DNS, or a full-tunnel VPN for WebRTC and IPv6 coverage — then confirm with the leak tools before you rely on it.
People found this page by searching for
- what is my IP leaking
- proxy for scraping comparison
- proxy for scraping provider
- how to rotate proxies in Python (requests and aiohttp)
- wireguard for android
- best VPN protocols in 2026
- fresh proxy authentication
- http proxy explained
- socks5 proxy plans
- VPN and proxy FAQ
Real search phrases this page answers — the linked ones open the page that covers them in depth.