Entry 04 of 17
Reflexive candidates — the address a third party hands back
A server-reflexive ICE candidate is your public address as a STUN server observed it, handed to any page that asks, with no permission prompt. It matters more than the address itself that STUN travels over UDP while your page load travelled over TCP, so the two can take different routes and report different addresses in the same session.
What is a server-reflexive candidate?
A server-reflexive candidate is not a fact about your machine. It is a fact about a third party's view of your machine, obtained by your browser on a page's behalf and handed straight back to the page.
To connect two peers behind routers, ICE asks a STUN server the only question NAT traversal needs: what source address did my packet appear to come from? The answer becomes a server-reflexive candidate, and it is delivered to page script through the ordinary candidate callback, with no permission prompt and no user-visible indication.
The interesting property is not the address by itself. It is that the STUN exchange is UDP and the page load is TCP, and the two can take different routes. A proxy configured only for HTTP traffic, a browser extension proxy, a split tunnel with a UDP exemption — each produces the case where a page's request arrives from one address while the STUN server saw another. Two accounts of one session that disagree, which is the whole subject of this site.
The probe behind this page records candidate types and counts only. It never reads a reflexive address, so this row reports that a public candidate was gathered, not what it contained. That is a smaller claim than the incumbent field makes and it is the one we can make honestly.
What the reflexive candidate reveals
- That the page can obtain your externally visible address without asking permission.
- Whether UDP leaves your machine by the same route your page requests do.
- By the presence or absence of relay candidates, whether a symmetric NAT or a restrictive firewall sits in front of you.
Does a VPN cover WebRTC's STUN traffic?
This is the row where the answer depends entirely on your configuration rather than on your provider. A tunnel that carries all traffic, both protocols, covers STUN like everything else, and the reflexive candidate reports the exit — nothing to see.
A tunnel that exempts UDP, or a split-tunnel rule that sends only browser TCP through, or a proxy configured in the browser rather than at the interface, produces the split case: the page arrives from the exit and the STUN exchange arrives from the physical interface. The site then holds two addresses for one visitor and did not have to ask for either.
Browser-level proxies are the most common cause and the most surprising one, because the browser's own settings screen shows a proxy that is genuinely being used — for HTTP. ICE is not HTTP, and unless the engine has been told explicitly to keep ICE inside the proxy, it will not.
Which controls each engine offers
| Engine | What it does today |
|---|---|
| Chromium | Gathers reflexive candidates for any page that supplies a STUN server, with no prompt. --force-webrtc-ip-handling-policy and the corresponding enterprise policy are the only controls. |
| Firefox | media.peerconnection.ice.proxy_only and media.peerconnection.ice.no_host narrow what is gathered; the former is the setting that keeps ICE inside a configured proxy. |
| Safari | Gathers reflexive candidates and applies its own policy for pages without media permission; there is no user-facing preference. |
| Tor Browser | Not applicable — WebRTC is disabled, so no STUN exchange occurs. |
How to keep ICE inside the tunnel
Route UDP through the same tunnel as everything else, or block UDP outbound while the tunnel is up so that ICE cannot take a second route.
In Firefox, force ICE through the proxy rather than leaving it to the host's route table.
Treat any tunnel that exempts UDP as not covering WebRTC at all, whatever its interface says.
What the mitigation costs
Blocking UDP outbound degrades or breaks WebRTC calls, QUIC and HTTP/3, and can silently slow ordinary browsing while the client falls back. Forcing ICE through a proxy makes connection setup slower and fails on proxies without UDP support.
How to test whether your UDP takes the same route
Nothing below depends on this site. These are the checks that produce the same answer in any browser, so the row above can be argued with rather than believed.
- Gather candidates in a console as for the host-candidate check, and read the ones typed
srflx. Their address is what a STUN server saw; compare it against what an ordinary page request reports for the same moment. - Do the comparison while the tunnel is up, not before and after. The failure being tested is simultaneity — two live paths at the same instant — and a sequential test cannot show it.
- If you use a browser-level proxy extension rather than a system tunnel, assume ICE is outside it until you have checked. In Firefox,
media.peerconnection.ice.proxy_onlyis the preference that forces ICE through the configured proxy. - Watch for the absence of
srflxcandidates as well. No reflexive candidate at all usually means UDP is blocked outbound, which is its own observation about your network.
STUN and reflexive candidate questions
Asked often enough about this vector to be worth answering on the entry itself.
- Can a website get my real IP address through WebRTC if I use a VPN?
- Only if your tunnel does not carry the UDP that STUN uses. When it does, the reflexive candidate reports your exit like everything else. When it exempts UDP — a split tunnel, a browser-only proxy, a firewall rule — the STUN exchange leaves by the physical interface and the address it returns is your own.
- Does blocking UDP stop the leak?
- Yes, and it costs more than it looks. Blocking UDP outbound breaks WebRTC calls, disables QUIC and HTTP/3, and can quietly slow ordinary browsing while clients fall back to TCP. It is a legitimate hardening step for a session that needs it and a poor default.
- Is a reflexive candidate the same as the local IP leak?
- No. A host candidate describes an interface on your machine and is obfuscated behind a random `.local` name on modern builds. A reflexive candidate is your public address as seen by a third party, and it is not obfuscated at all — it cannot be, because NAT traversal needs the real value.
- Does this site read my reflexive address?
- No. The probe records candidate types and counts only, so this row reports that a public candidate was gathered, not what it contained. That is a smaller claim than the field usually makes and it is the one that can be made honestly.
Entry 04 · schedule edition 1.1.0, effective 2026-10-13, supersedes none. Per-engine notes reviewed 2026-08-12 against documentation for Chromium 141, Firefox 145, Safari 19.2, Tor Browser 14.5; they are compiled from vendor documentation rather than produced by a test run here.