Prevention advice usually starts with a toggle and ends with a broken video call. The leak is not one behaviour but three: a host line naming a local address, a server-reflexive line naming your public address, and a relay line naming someone else's server. Each comes from a different input, so every measure removes a different line — and a measure that removes none is not prevention, just configuration with a claim attached.
We put seven configurations through one harness: eight STUN servers, three rounds each, one connection. Two levers removed a line, two removed nothing. What follows is the diff, then the order we would apply it in; the anatomy of the lines lives in the WebRTC leak breakdown.
Prevention is removal: a measure that leaves the same two lines on the wire has prevented nothing.
measured
Three lines, three producers. The host candidate comes from the network interface, the only line the browser generates without asking anyone. The server-reflexive candidate comes from a STUN exchange, repeated once per server you configure. The relay candidate comes from a TURN allocation, which exists only when you name a relay.
Because the producers are independent, prevention has to be argued line by line. Removing the interface from the picture does not stop the STUN query; removing STUN does not stop the interface. A page only needs one surviving line that disagrees with your HTTP exit, so a partial measure can look complete in a panel while the mismatch stays on the wire.
The cost side is asymmetric. Losing the host line costs LAN topology and nothing else. Losing the reflexive line costs your public address — the line that most often disagrees with a proxy. Losing the relay line costs your address entirely, because a TURN server answers in your place, at the price of bandwidth and a dependency that did not exist before.
So the question is not which switch is strongest, but which line you will lose per use case. The WebRTC leak test runs the same probe in your browser for numbers from your own network.
| Configuration | Candidates per round | Host line | Reflexive line | First candidate |
|---|---|---|---|---|
| Baseline, eight STUN servers | 2 | .local label | 14.155.235.106 | 1,329 ms cold, 3–9 ms after |
| Empty server list | 1 | .local label | none gathered | 965 ms cold, then 3 ms |
| Relay-only, no TURN named | 0 | none gathered | none gathered | nothing to time |
| Policy: public interface only | 2 | .local label | 14.155.235.106 | 936 ms cold, 10–11 ms after |
| Policy: no non-proxied UDP | 2 | .local label | 14.155.235.106 | 950 ms cold, 3–10 ms after |
| Control: mDNS feature off | 2 | 192.168.1.147 | 14.155.235.106 | 758 ms cold, 3–4 ms after |
| Baseline repeated | 2 | .local label | 14.155.235.106 | 959 ms cold, 4–8 ms after |
The empty server list is the cleanest measure of the four. With eight servers it gathered two candidates every round; with none it gathered one, the host line, and no reflexive line ever arrived — nothing left the machine to ask.
Relay-only is the blunt one. With iceTransportPolicy set to relay and no TURN server named, the probe gathered zero candidates three times out of three: no line to leak, and none to connect with either. It is the setting that makes a call fail fast rather than leak.
Timing did not move with the configuration. Cold starts ranged from 758 ms to 1,329 ms and warm starts from 3 ms to 11 ms across all seven runs. Prevention here is not a latency trade — you delete a query, you do not add a hop.
The public address is 14.155.235.106, where the same connection reported 14.155.233.50 five days earlier: the reflexive line tracks the current NAT mapping and drifts with the ISP lease. Yesterday's address is still a leak, and today's HTTP exit still disagrees with it.
The two policy rows are why this page exists. Chrome accepts a force-webrtc-ip-handling-policy switch with values such as default_public_interface_only and disable_non_proxied_udp, both described in enterprise documentation as ways to constrain how peer connections reach the network. Run them here and the gathered set does not move: two candidates, one .local host line, one reflexive line naming the same address, three of three rounds.
The obvious objection is that the harness ignored the flags. It did not: the control run disabled the mDNS feature and the host line changed from a .local label to 192.168.1.147. Feature flags are honoured; the two policy values still matched the baseline byte for byte.
We are not claiming the switches never work — only that in this build they did nothing observable, and no plan can rest on a switch nobody watched take effect. The check is cheap: gather with it on, gather with it off, compare the lines. An identical set makes the switch decoration, whatever the documentation says.
The same discipline applies to proxies. Twenty-three SOCKS5 endpoints moved the HTTP egress in our earlier comparison and none moved the address STUN reported, because the peer connection never hands its traffic to the tunnel. The SOCKS5 setup reference covers the five client fields; this section covers why they do not reach this path.
| If this is the requirement | Apply this lever | What it costs |
|---|---|---|
| Calls must keep working, public address must not appear | Relay-only with a TURN server you control | Media bandwidth through the relay, and a server to run |
| No media path is needed at all | Empty server list, or WebRTC off outright | Any site feature built on peer connections fails silently |
| LAN address must never appear | Keep the mDNS state intact, never grant capture casually | Per-site prompts, and one grant can flip the state |
| A managed fleet must behave the same | Set policy, then verify the gather per build | Verification work, since policy alone measured no effect |
| A proxy must exit everything | Proxy plus one lever above, never the proxy alone | Two configurations to sync, checked from both layers |
Then verify in this order. Establish the HTTP baseline — the address your requests actually leave from — with the proxy checker. Write the candidate set down before changing anything, because a comparison needs a before. Change one lever, re-run, diff the lines rather than the panel.
Two failure modes explain most of the confusion we see. One is a lever never connected to the line it claims to fix: the policy switches above, or any proxy applied to HTTP only. The other is a browser state that resets — the .local mask is re-evaluated per page and can vanish after a single permission grant, which is why the host line returns without warning.
If the requirement is staying unremarkable across profiles rather than merely leak-free, run the check twice: against your own baseline and against the fleet. A profile whose host line reads 192.168.1.147 while its siblings report .local labels is an outlier no proxy configuration explains — the kind of inconsistency the fingerprint test surfaces beside the WebRTC signal.
Keep the record: a prevention claim you cannot re-run on your own connection in under a minute describes someone else's browser.
Running antidetect or multi-account profiles? A prevention setting that lives in one profile and not its siblings is worse than none — the difference between them is the signal.
Download RoxyBrowserRoxyBrowser keeps per-profile WebRTC behaviour consistent across the fleet.
Remove the input that produces the damaging line rather than the protocol. In our run, an empty iceServers list removed every server-reflexive candidate in all three rounds — one host line remained, and no query left the machine. Calls that rely on STUN traversal still work when both peers can reach each other directly; calls across restrictive NATs are the ones that break.
It removes every line, including the ones you need. With iceTransportPolicy set to relay and no TURN server configured, our probe gathered zero candidates in three of three rounds: nothing to leak, nothing to connect with. Add a TURN server and the relay line carries that server's address instead of yours — that is the version worth deploying, and it costs bandwidth.
In our harness neither default_public_interface_only nor disable_non_proxied_udp changed the gathered set: two candidates, one .local host line and one reflexive line naming the same public address, in three of three rounds. The harness was not the problem — disabling the mDNS feature in the same setup did move the host line to 192.168.1.147. Re-measure the switch on your own build before relying on it.
No. Twenty-three SOCKS5 endpoints moved the HTTP egress in our earlier comparison and none moved the address the STUN servers reported, because the peer connection does not hand its traffic to the tunnel. Prevention has to happen where the candidates are produced: the browser configuration, a policy that is enforced, or a TURN relay.