# IPv6 Leak Test Behind an IPv4 Proxy: No IPv6 Leak Measured, but WebRTC Revealed the Real IPv4 in 5 of 12 Probes

**Limitation first:** the test VM had no working IPv6 connectivity in any of the six slots, so there was no cloud IPv6 address for a leak to reveal. The clear result is separate: WebRTC reported the VM's own public IPv4 through the proxy in 5 of 12 residential probes.

FreePolicyTools ran a six-slot, three-day diary from a US cloud VM. Each slot sent one probe through the direct connection and one through each IPv4-only ProxySeller path, an HTTP proxy and a SOCKS5 proxy. The question was whether AAAA DNS records, the IP family seen by public echo endpoints, or WebRTC ICE candidates revealed the VM's IPv6 address while the traffic went out over IPv4.

Short answer: no IPv6 was exposed, but that result is weaker than it looks. The VM had no working IPv6 connectivity in any of the six slots, so there was no cloud IPv6 address for a leak to reveal. This study cannot show that IPv4-only proxies are safe for a dual-stack host. A separate result is more concrete: in 5 of 12 proxied probes, WebRTC reported the VM's own public IPv4 address through the proxy.

## What the study asked

The question was narrow. With an IPv4-only residential HTTP or SOCKS proxy in front of a browser, do three things still reveal the cloud host's IPv6 address?

1. DNS. Do dual-stack names return AAAA records to the VM?
2. Documents. Do public echo endpoints report an IPv6 egress family when the request goes through the proxy?
3. WebRTC. Do STUN-based ICE candidates include a public IPv6 address, or an IPv4 address that matches the VM's direct baseline?

The study does not measure a Happy Eyeballs race across many networks, sticky residential sessions, or a VPN tunnel. CometVPN was not run because the VM had no usable TUN path, so that arm is marked `NOT_RUN`.

## Method

The protocol was frozen on 24 November 2026 before the first collection. It listed six hosts, which is the cap, and did not change after the freeze:

- Three dual-stack names: `dns.google`, `cloudflare.com`, and `one.one.one.one`.
- Three fixed echo and trace URLs: `api.ipify.org`, `api64.ipify.org`, and `cloudflare.com/cdn-cgi/trace`.
- One WebRTC STUN server: `stun:stun.cloudflare.com:3478`, used only for ICE gathering.

Each slot ran three probes in a fixed order: `cloud-direct`, `residential-http`, and `residential-socks`. That makes six direct probes and twelve residential probes, 18 in total. The browser was headless Chromium with the proxy set through Playwright. The SOCKS path used a local anonymizer, because Chromium does not accept SOCKS username and password. Echo requests and DNS lookups ran from the same proxy context as the page.

The WebRTC check loaded a local fixture page. It opened an `RTCPeerConnection`, gathered ICE candidates for eight seconds, and classified each candidate as IPv4 or IPv6 and as public or private. The public evidence stores salted or truncated SHA-256 hashes, prefixed `ip_`, instead of addresses. Raw addresses stay in a gitignored private directory.

Slot times are UTC. Collection ran at 13:21 on 24 November for the immediate slot, then at 18:08 on 24 November, 06:08 and 18:08 on 25 November, and 06:08 and 18:08 on 26 November. All six slots were collected on time. None were missed or backfilled.

## Results by slot

| Slot (UTC) | AAAA on all three names | Cloud IPv6 reachable | Residential echo reported IPv6 | Residential WebRTC public IPv6 | Residential WebRTC matched cloud IPv4 (of 2) |
| --- | --- | --- | --- | --- | --- |
| 24 Nov, immediate | Yes | No | 0 | 0 | 0 |
| 24 Nov, 18:08 | Yes | No | 0 | 0 | 1 |
| 25 Nov, 06:08 | Yes | No | 0 | 0 | 0 |
| 25 Nov, 18:08 | Yes | No | 0 | 0 | 1 |
| 26 Nov, 06:08 | Yes | No | 0 | 0 | 2 |
| 26 Nov, 18:08 | Yes | No | 0 | 0 | 1 |

Across all slots:

- AAAA records were present for all three dual-stack names in 6 of 6 slots.
- The cloud IPv6 connection test failed in 6 of 6 slots, and the echo endpoints returned IPv4 for the direct probe.
- None of the 12 residential probes reported an IPv6 egress family from an echo endpoint.
- None of the 12 residential probes showed a public IPv6 WebRTC candidate.
- Five of the 12 residential probes showed a WebRTC candidate that matched the VM's direct public IPv4 baseline. Three were HTTP and two were SOCKS.
- The direct probe matched its own baseline in all 6 slots. That confirms the WebRTC check can see the VM's public IPv4 when there is no proxy.

## The IPv6 result has a hole

The IPv6 questions were answered on a VM with no working IPv6 path. The cloud connectivity probe, a UDP connect to a public IPv6 DNS address, failed in every slot. The direct echo requests returned IPv4 addresses. A leak test on that VM has nothing to leak, so "no IPv6 exposure" here means "no IPv6 was present to expose."

That means the study cannot tell whether an IPv4-only proxy protects a host that has IPv6. The AAAA results show that the DNS names do advertise IPv6, which is the condition a dual-stack client would meet. But this test does not show what such a client would do, which resolver it would use, or whether a browser would try IPv6 first through the proxy. A dual-stack VM is the next test.

## The WebRTC IPv4 result

The 5 matches are not IPv6, but they are a real exposure. The proxy was supposed to hide the VM's address on the page's network path. Under the proxy, WebRTC's STUN request still reported the VM's public IPv4. The hashes match the VM's own direct baseline in the same slot, so the address is not the proxy's exit.

Why does this happen? WebRTC gathers candidates with ICE ([RFC 8445](https://www.rfc-editor.org/rfc/rfc8445)). A server-reflexive candidate comes from a STUN server that reports the public address a packet arrived from ([RFC 8489](https://www.rfc-editor.org/rfc/rfc8489)). The STUN request is a UDP packet from the browser's own network stack. A Chromium proxy setting governs the page's HTTP and HTTPS requests. In the configuration tested, it did not carry that UDP packet. We did not capture packets, so this is an inference. It fits the result.

### What to check if you use a proxy

- Run a WebRTC candidate test in the same browser, through the same proxy, before you rely on it. Compare the server-reflexive candidates with your real public address.
- Check whether the host has a working IPv6 route. If it does not, an IPv6 test on that host proves little. Repeat the test on a dual-stack host.
- Check DNS separately from the document path. The AAAA answers and the resolver a browser uses can differ from the proxy's exit. See the [DNS leaks guide](/blog/dns-leaks-and-how-to-prevent-them/).
- Repeat the test over several slots. One exit does not show the whole pattern, and the matches changed from slot to slot.
- If WebRTC must stay off a page, use a browser setting or policy that limits non-proxied UDP. Confirm it with a candidate test, not with the setting alone.

For the earlier WebRTC and IPv6 background, see the [WebRTC and IPv6 leak guide](/blog/ip-leaks-webrtc-and-ipv6/) and the [browser path-leak study](/blog/browser-path-leak-research/).

The pattern is uneven. One of the six slots had both residential paths match. Three slots had one path match, two HTTP and one SOCKS, and two slots had neither. With one probe per condition per slot, this study cannot tell whether that unevenness comes from routing, timing, or the browser's ICE choices. The exit country also changed between slots, so the matches do not depend on a single exit.

For a browser under an IPv4-only proxy, this is the more concrete result. The proxy did not stop WebRTC from reporting the VM's IPv4. Anyone who relies on a proxy to hide a host's address should test WebRTC with the same proxy in the same browser.

## What this study does not show

- It does not show that IPv4-only proxies are safe for a dual-stack host.
- It does not show that any browser, OS, or VPN behaves the same way.
- It does not measure population rates. Six slots, one VM, and one residential account make this a diary, not a sample.
- It does not test CometVPN, a tunnel, or a VPN with its own UDP policy.
- It does not test a sticky residential session.
- The echo endpoints are not a single ground truth. The results used three of them.
- The browser was headless Chromium. A desktop profile may behave differently.

## Next test

Repeat the same protocol on a dual-stack VM with working IPv6, with the same six hosts and the same three conditions. That would show whether the AAAA records and the browser's connection choices expose the VM's IPv6 when the proxy is IPv4 only. Keep the WebRTC check, because the IPv4 result shows it can expose the host even when the document path is clean.

## Package

The public package is `/research/ipv6-leak-ipv4-proxy-3day/`. It includes the protocol, the frozen hosts, the day 0 freeze record, the status log, the rollup, and one directory per slot with the summary and probe records. The rollup is `rollup.json`. Public evidence has no raw addresses, no proxy hostnames, and no credentials.

**Suggested citation:** FreePolicyTools. "IPv6 Leak Test Behind an IPv4 Proxy: No IPv6 Leak Measured, but WebRTC Revealed the Real IPv4 in 5 of 12 Probes." Original research collected 24 to 26 November 2026, six slots, UTC.

Affiliate disclosure: this article links to ProxySeller and CometVPN. FreePolicyTools may earn a commission if you buy through those links. ProxySeller endpoints were the residential paths in this study. CometVPN was not run. The links did not change the protocol, the collection, or the results.
