A VPN app flashes green. It displays a secure tunnel icon, claims your virtual location is Zürich, and promises total privacy. Yet, the moment you visit a modern dual-stack website, that website instantly logs your home residential address, your ISP name, and your real geographic coordinates.
No encryption was broken. No tunnel collapsed. The VPN did exactly what it was programmed to do for IPv4. But your home internet is no longer just IPv4.
At 365Finds, we look at network privacy through the lens of messy operational reality rather than marketing claims. The silent leakage of real IPv6 addresses on dual-stack networks remains one of the most persistent architectural traps in consumer privacy. Even more revealing is the industry's universal fix: instead of routing IPv6 through an encrypted tunnel, the vast majority of commercial VPNs choose to sever IPv6 at the neck.
Here is the exact network routing mechanics behind dual-stack IPv6 leaks, why modern operating systems actively conspire against IPv4-only tunnels, and why disabling IPv6 remains the industry’s favorite—if imperfect—survival mechanism.
The Dual-Stack Split: Two Routing Tables Under One Roof
To understand an IPv6 leak, you have to look past the user interface and inspect how your operating system organizes traffic.
Modern computers, smartphones, and routers run in a "dual-stack" configuration. Your device does not treat IPv4 and IPv6 as variations of the same protocol; it treats them as two completely independent network subsystems running in parallel. Each protocol family maintains its own network stack, its own neighbor discovery or ARP cache, and critically, its own routing table.
+---------------------------------------------------------------+
| Operating System |
| |
| +-----------------------+ +-----------------------+ |
| | IPv4 Routing Table | | IPv6 Routing Table | |
| | Destination: 0.0.0.0/0| | Destination: ::/0 | |
| | Gateway: tun0 (VPN) | | Gateway: eth0 (ISP) | |
| +-----------+-----------+ +-----------+-----------+ |
+---------------|-------------------------------|---------------+
| |
Encrypted Tunnel Unencrypted Cleartext
| |
[ VPN Data Center ] [ Local ISP Router ]
When you hit "Connect" on a legacy or poorly architected VPN client, the software creates a virtual network interface (typically tun0 on Linux/macOS or a TAP/Wintun adapter on Windows). It then modifies your IPv4 routing table:
IPv4 Route:
0.0.0.0/0 via 10.8.0.1 dev tun0
This ensures that every piece of IPv4 traffic is captured, encrypted, and dispatched to the VPN server.
The catastrophic flaw lies in what the VPN client leaves untouched: the IPv6 routing table. If your ISP has assigned your home router an IPv6 prefix delegation (such as a /56 or /64 block), your router continuously broadcasts Router Advertisement (RA) packets. Your operating system receives these and sets up a default IPv6 gateway:
IPv6 Route:
::/0 via fe80::1 dev eth0 (or wlan0)
Because the VPN client only told the kernel how to handle IPv4, the default IPv6 route remains pointing straight at your physical network card (eth0 or wlan0), which forwards directly to your ISP. The tunnel covers IPv4, while IPv6 sits completely outside in the open air.
Why the OS Chooses the Leaking Route: RFC 6724 and Happy Eyeballs
Having an open IPv6 route outside the VPN would not be fatal if your computer preferred the tunneled IPv4 route. But modern network stacks are explicitly designed to do the exact opposite.
1. Default Address Selection (RFC 6724)
When a program wants to connect to a domain—say, example.com—it issues a system call (getaddrinfo) that queries DNS for both A records (IPv4 addresses) and AAAA records (IPv6 addresses). If the host supports dual-stack, the DNS resolver returns both.
At this point, the OS must choose which IP address to dial. Under RFC 6724 (Default Address Selection for Internet Protocol Version 6), the destination address selection algorithm applies a strict policy table. In nearly every standard desktop and mobile OS, native IPv6 Global Unicast Addresses take precedence over legacy IPv4 addresses.
The OS intentionally pushes application traffic toward IPv6.
2. Happy Eyeballs v2 (RFC 8305)
Years ago, prioritizing IPv6 often caused noticeable delays when local IPv6 connectivity was misconfigured. To eliminate connection stalls, browser vendors and network engineers developed RFC 8305 (Happy Eyeballs Version 2).
Happy Eyeballs does not wait around. When resolving domain records, the browser fires asynchronous connection attempts over both protocols:
- It starts a TCP handshake or QUIC connection attempt to the target's IPv6 address.
- It introduces a tiny delay (typically 100 to 250 milliseconds, known as the "connection attempt delay").
- If IPv6 succeeds, it immediately drops the IPv4 attempt and commits to the IPv6 connection.
Now consider what happens on an IPv4-only VPN on a dual-stack connection:
- The IPv4 connection must be routed through the VPN tunnel, encrypted, forwarded through the internet to the VPN data center, decrypted, and sent out.
- The IPv6 connection heads out your local ISP physical gateway directly to the target server with lower latency and zero encryption overhead.
The unencrypted IPv6 route almost always wins the race. The application connects over IPv6, sending your ISP-assigned Global Unicast Address straight to the web server's access logs. Your VPN client continues to display a reassuring green lock, completely oblivious that all active traffic has bypassed the tunnel.
Beyond Web Traffic: DNS and WebRTC Vectors
Traffic routing is only half the battle. Dual-stack networks trigger real identity leakage through two additional secondary channels:
The Dual-Stack DNS Trap
Even if an application eventually communicates over IPv4, the initial DNS resolution can expose you. Your home router routinely advertises its own IPv6 address or the ISP's recursive DNS servers via DHCPv6 or RDNSS options in ICMPv6 Router Advertisements.
If a VPN client sets custom IPv4 DNS resolvers inside the tunnel (like 10.8.0.1 or 1.1.1.1) but fails to secure or null-route IPv6 DNS endpoints, your operating system will query the ISP's IPv6 DNS resolver directly over physical interfaces. Your ISP sees every domain you visit in plain text, completely invalidating the VPN's privacy promise.
WebRTC Interactive Connectivity Establishment (ICE)
WebRTC presents an even sharper risk. Browser-based communications protocols use STUN (Session Traversal Utilities for NAT) servers to discover all possible network pathways for peer-to-peer media streams.
During the ICE discovery phase, a script running on a web page can prompt the browser to enumerate all local and public IP addresses across all active network interfaces. Even if standard HTTP traffic is forced into an IPv4 tunnel, the WebRTC engine can gather your physical adapter's public IPv6 address and transmit it back to the web application over an established connection.
Why Many VPNs Simply Disable IPv6 Instead of Dual-Tunneling
If IPv6 routing leaks are such a glaring privacy vulnerability, why doesn't every VPN provider provide full dual-stack tunneling? Why do major providers—including ExpressVPN, NordVPN, and Surfshark—opt to completely block or disable IPv6 on the client?
At 365Finds, we have tracked this debate across network engineering teams for years. The preference for disabling or blackholing IPv6 is driven by concrete infrastructure economics and fundamental privacy trade-offs.
Disabling / Blackholing IPv6 vs. Full Dual-Stack Tunneling
---------------------------------------------------------------------------------
• Zero IPv6 leak surface • Preserves native IPv6 access
• Proven IPv4 shared crowd anonymity • Complex NAT66 or prefix pool
• Universal datacenter compatibility • High datacenter hosting cost
• Incompatible with IPv6-only services • Vulnerable to multi-stack bugs
1. The Anonymity Dilemma: Shared NAT vs. Unique Prefixes
In IPv4, privacy is built on address scarcity. Because public IPv4 addresses are scarce and expensive, VPN providers place hundreds of simultaneous users behind a single shared public IPv4 address using Network Address Translation (PAT/NAT44). When hundreds of people browse through 198.51.100.5, an observer cannot easily distinguish one person's traffic from another. It delivers crowd anonymity through plausible deniability.
IPv6, by design, was built to eliminate NAT entirely. In standard IPv6 architecture, every device on the internet is expected to receive a globally unique public IP address.
If a VPN provider assigns each connected user a distinct public IPv6 /64 or /128 address:
- The user loses crowd anonymity.
- The assigned prefix acts as a permanent or semi-permanent digital fingerprint across every service the user touches during that session.
- Under RFC 8981 (Temporary Address Extensions for SLAAC), consumer devices cycle temporary host interface identifiers, but the routing prefix remains identical.
To preserve privacy in IPv6, a VPN provider must either implement stateful NAT66 (masquerading many users behind a single shared public IPv6 exit address) or implement complex, high-velocity prefix rotation pools. NAT66 violates the end-to-end philosophy of IPv6 and often triggers aggressive rate-limiting or anti-bot CAPTCHAs from major content delivery networks (CDNs) that do not expect thousands of concurrent sessions from a single IPv6 address.
2. Datacenter Infrastructure and Upstream Inconsistencies
Commercial VPN networks rely on thousands of dedicated and virtual private servers rented across dozens of hosting providers worldwide. While tier-1 transit providers have robust IPv6 backbones, hundreds of regional datacenters, colocation facilities, and unmanaged server hosts still offer inconsistent, broken, or non-existent IPv6 routing.
Managing BGP routing, upstream peering, and clean routing announcements across a globally distributed dual-stack server fleet increases operational maintenance significantly. A provider attempting full dual-stack routing risks unexpected routing failures in specific server locations where upstream IPv6 transit misbehaves.
3. Attack Surface and Firewall Complexity
Dual-stack VPN routing doubles client-side firewall complexity. The VPN client must manage two sets of filtering rules:
- IPv4 firewall rules (
iptables/ WFP / Packet Filter) - IPv6 firewall rules (
ip6tables/ WFP / Packet Filter)
Every update to an operating system’s network stack introduces potential race conditions where interface changes might drop IPv6 tunnel routes while maintaining IPv4 routes.
For many engineering teams, the math is straightforward: completely suppressing IPv6 removes 50% of the possible leak vectors with almost zero downside for 99% of web browsing.
How VPNs Block IPv6: Client Disabling vs. Firewall Blackholing
When a VPN provider claims "IPv6 Leak Protection," they are typically using one of two techniques to suppress the protocol:
Technique A: Adapter Disabling
The VPN client directly manipulates the operating system's network configuration, unbinding the IPv6 stack from physical network interfaces or changing system registry keys (e.g., setting DisabledComponents in Windows).
Our view at 365Finds: This method is crude and prone to leaving machines in broken network states. If the VPN client crashes or the user forces a reboot, the adapter often remains disabled, breaking local LAN connectivity, printer discovery, or HomeKit/Bonjour devices until manual troubleshooting is performed.
Technique B: Firewall Blackholing / Null-Routing
Rather than dismantling network adapters, the VPN client leaves the OS network stack intact but installs strict low-level packet-filtering rules using the Windows Filtering Platform (WFP), macOS NetworkExtension, or Linux nftables/ip6tables.
The client injects a blackhole rule:
ip6tables -A OUTPUT ! -o lo -j REJECT --reject-with icmp6-adm-prohibited
Any outbound IPv6 packet directed outside the loopback interface is immediately stopped with an administrative reject.
This approach is far cleaner. When an application attempts an IPv6 handshake via Happy Eyeballs, the local OS immediately returns an unreachable status without waiting for network timeouts. The browser instantly falls back to IPv4, and that IPv4 traffic is safely funneled into the encrypted VPN tunnel.
Who Does It Differently? The Dual-Tunnel Providers
A few privacy-focused providers have invested in native dual-stack tunneling rather than blanket suppression.
- Mullvad VPN: Mullvad has long supported in-tunnel IPv6 routing. On WireGuard and OpenVPN connections, Mullvad assigns both an internal private IPv4 address and an internal IPv6 address (from the Unique Local Address
fc00::/7range or a provider-managed prefix), routing both families through::/0and0.0.0.0/0tunnels. As detailed in their IPv6 Support documentation, users can explicitly toggle "In-tunnel IPv6." If IPv6 routing is unavailable or toggled off, Mullvad's firewall rules drop all IPv6 traffic locally to prevent leaks. - IVPN: Similarly, IVPN offers WireGuard IPv6 support, assigning IPv6 addresses over the tunnel interface and providing an integrated firewall kill switch that ensures no unencrypted IPv6 traffic escapes outside the tunnel.
Dual-tunneling is the technically purer implementation. It respects modern internet evolution and allows seamless connection to IPv6-only hosts without protocol translation bridges. However, it demands that the user trust the VPN provider's outbound IPv6 routing and shared exit pool configuration.
How to Test and Verify Your Connection
Never trust a VPN's desktop status widget when evaluating leak protection. Verifying your security posture takes less than two minutes:
Step 1: Disconnect from the VPN.
Visit https://ipleak.net or https://mullvad.net/check.
Record your baseline ISP IPv4 and native IPv6 address.
Step 2: Connect to your VPN.
Refresh the test page.
Step 3: Analyze the output:
- If IPv6 reads "Not detected" or "None":
Your VPN is blackholing IPv6. Real IP is protected via IPv4 fallback.
- If IPv6 shows a location matching your selected VPN server:
Your VPN is running a dual-tunnel setup. Real IP is protected.
- If IPv6 displays your home ISP address from Step 1:
Your VPN is leaking your identity through the dual-stack routing split.
If your test reveals a leak and your VPN client does not offer an internal IPv6 block toggle, you must manually disable IPv6 on your primary network interface or implement system firewall reject rules until you migrate to a client with verified leak mitigation.
The Pragmatic Verdict
Disabling IPv6 is not an elegant architectural solution. It feels like taking a wrench to a modern network protocol because the software industry moved slower than ISP infrastructure.
Yet, from an uncompromising privacy perspective, an IPv6 blackhole works. When configured via low-level firewall drops with fast ICMP rejections, disabling IPv6 completely neutralizes RFC 6724 address selection traps, stops WebRTC leaks outside the tunnel, and preserves the shared crowd anonymity that IPv4 NAT has spent two decades refining.
Unless you specifically require access to IPv6-only server infrastructure, a VPN that cleanly blackholes IPv6 is far safer than a generic service that leaves the IPv6 routing table untouched while claiming 256-bit military-grade encryption on a bypassed IPv4 tunnel.
References
- RFC 6724: Default Address Selection for Internet Protocol Version 6 (IPv6)
- RFC 8305: Happy Eyeballs Version 2: Better Connectivity Using Concurrency
- RFC 8981: Temporary Address Extensions for Stateless Address Autoconfiguration in IPv6
- Mullvad VPN: IPv6 Support & In-Tunnel Settings
- IVPN: WireGuard and IPv6 Support