A SOCKS5 WebRTC leak is not a misconfiguration you can fix with a better proxy list; it is a protocol boundary. SOCKS5 forwards TCP streams, WebRTC asks a STUN server over UDP, and the tunnel never sees that packet. This page proves the boundary by putting a relay in the middle and logging every request that entered it.
The harness ran four configurations twice each on Chromium 158: no proxy, proxy only, proxy plus the documented IP handling policy flag, and proxy plus the extension policy. The relay logged all 35 CONNECT requests. None of them went to a STUN port, and the candidate list named the same public address in every run that gathered at all.
The proxy carries every TCP byte and not one UDP datagram, so a working SOCKS5 setup can still hand a page the address of the machine behind it.
measured
SOCKS5 defines three commands. CONNECT opens a TCP stream to a host and port, and every browser implements it because that is how HTTP and TLS travel. BIND exists for inbound connections and is rarely used. UDP ASSOCIATE exists precisely for datagrams, and no mainstream browser wires WebRTC into it, because the association would need a relay on the far side that understands the client's socket lifecycle.
WebRTC's first move is a STUN binding request over UDP, sent to learn the public face of the connection. With no proxy that packet leaves on the host interface; with a SOCKS5 proxy it still leaves on the host interface, because the tunnel only accepts TCP. The result is a candidate that describes the machine, not the proxy, and it arrives without a prompt.
The relay log is the evidence. Six tunneled sessions produced 35 CONNECT requests: 29 from the browser's own background traffic and 6 from the page's test fetch, all TCP. The STUN port appears zero times. Meanwhile the fetch succeeded in all six rounds, which is what makes the absence meaningful: the tunnel was up and carrying traffic, it simply had nothing to carry for WebRTC.
| Configuration | Tunnel traffic | Reflexive candidate |
|---|---|---|
| No proxy | No tunnel | 14.155.235.106, both rounds. |
| SOCKS5 only | TCP fetch ok, 2/2 | 14.155.235.106, both rounds. |
| SOCKS5 + policy flag | TCP fetch ok, 2/2 | 14.155.235.106, both rounds; the flag changed nothing. |
| SOCKS5 + extension policy | TCP fetch ok, 2/2 | Empty in round one, 14.155.235.106 in round two. |
Read the table by column. The tunnel column proves the proxy was doing its job; the candidate column shows what it did not touch. The command-line policy flag that appears in most hardening guides produced no change at all, which matches the dedicated measurement on the Chrome page: it leaks in three rounds out of three there and two out of two here, with and without a proxy in front.
The extension row is the only one that closes anything, and even that row is honest about its failure mode: the first round came back empty and the second leaked, because the policy lands about a second after navigation. On a real desktop browser behind a real proxy, that means the first page view after a restart can still expose the address, and a reload fixes it.
A plain leak tells a page one address. A proxy plus a leak tells it two: the HTTP exit it sees on every request, and the reflexive address the browser volunteers besides. When those disagree, the page learns that a proxy is in use and what sits behind it, which is a stronger signal than either fact alone. Fraud scoring treats that pair as a contradiction, and a session that claims one location while its candidate names another is the textbook shape of it.
One limit of this run: the relay on 127.0.0.1:11080 had no separate upstream, so its exit address was the direct address and the two values matched by construction. The divergence appears the moment the proxy terminates somewhere else, which is the normal case with a rented proxy; the mechanism is the same one measured here, and the second number simply moves. We did not test a remote exit, and the page does not claim a measured mismatch.
A second detail from the same data: the reflexive port changed on every round, 52231 then 58256 without a proxy, 60766 then 56829 through it. Each socket gets its own binding, so the port cannot be used to recognise a session across visits, and it cannot be compared between a proxied and an unproxied run either.
Only two levers survive the boundary. The first is removing the constructor in page JavaScript, which stops the browser from gathering at all and costs nothing but per-site application; the Chromium page measures it at zero candidates in three of three rounds. The second is the extension policy, which blocks non-proxied UDP at the engine level and measured empty once it lands; its weakness is the one-second window after each navigation.
A third option belongs to the network rather than the browser: carry UDP in the tunnel. WireGuard, TUN-based clients and full-device VPNs do that, and then STUN travels through the same path as everything else. A SOCKS5 proxy alone cannot, by protocol, so a setup built on SOCKS5 needs one of the browser-side levers on top of it.
The common workaround of adding more proxies does not help, and it is worth saying why: every hop in a SOCKS5 chain is another TCP forwarder. The STUN datagram still starts at the host interface, the chain never sees it, and the candidate is identical whether one proxy sits in front of the browser or five do.
The acceptance test takes two numbers and one comparison. Open the leak test through the proxy, read the HTTP exit address and the server-reflexive candidate, and compare them. If both are yours, the proxy carried neither the UDP path nor the candidate; if they differ, the candidate is the machine and the leak is live; if only one appears and it is not yours, the tunnel is doing what it can and the browser-side lever is holding.
Per-profile proxies need a per-profile answer for the UDP side: RoxyBrowser binds the proxy and the WebRTC policy to the same profile, so a session never reports one address through HTTP and another through a candidate.
Download RoxyBrowserRoxyBrowser runs anti-detect profiles with per-profile environment control; official site roxybrowser.com, Windows and macOS.
No. The tunnel carries TCP, while STUN runs over UDP and never enters it. Across 6 tunneled sessions the proxy log held 35 CONNECT requests and none to the STUN port, and every gather still returned the direct public address.
Because the reflexive candidate comes from a UDP exchange that bypasses the tunnel. Browsers implement the TCP connect command of SOCKS5 and not UDP associate, so the packet leaves on the host interface with the host address.
Not on this build. The command-line policy flag leaked in 2 of 2 rounds; the extension policy emptied the list in 1 of 2, and the other leaked during the first second before the worker applied it.
Open a leak test through the proxy and compare two addresses: the HTTP exit address and the server-reflexive candidate. If they differ, the candidate is the leak; if they match and both are yours, the proxy was not carrying the UDP path either.