An IP leak is the exposure of an IP address that a user expected to keep hidden behind a proxy, VPN or other intermediary. The destination website, a DNS resolver or another observer records an address that does not belong to the intended exit point, such as the ISP-assigned public address of a home connection or a private address from the local network. The term describes an observed mismatch rather than one specific bug, because several different mechanisms can produce the same result.
The distinction matters because a proxy or tunnel only changes the route for traffic that actually passes through it. IP address exposure can happen when a request or connectivity check takes a different path, or when an intermediary forwards identifying information. The important question is which observer can see which address.
Expected and Observed Exit Addresses
Every connection has an exit address: the source address that the destination server sees in incoming packets. On an ordinary internet connection, that is usually a public address assigned to the device, router or upstream network gateway. With a forward proxy, the destination sees the proxy's address, because the proxy opens its own connection to the target. With a typical consumer VPN, traffic sent through the tunnel reaches the destination using the service's public exit address.
The expected exit address is therefore the address of the configured intermediary. The observed exit address is whatever the destination logs. A proxy IP leak or VPN leak exists when the observed address is one the intermediary should have hidden. A difference alone is not proof. A provider may route requests through several addresses in a pool, or return separate IPv4 and IPv6 addresses that both belong to its infrastructure. The real question is whether information the chosen configuration was meant to conceal has reached that observer.
Common Exposure Paths
Most leaks come from traffic that never entered the intermediary, or from side channels that reveal addresses even though the main connection is routed correctly.
Applications Outside the Proxy Scope
A proxy configured inside one browser applies to the request types that browser routes through it. Other programs on the same machine, including system update services, messaging clients and a second browser, connect directly unless they have their own settings. A system-wide VPN covers more, but split tunnelling, which deliberately sends some destinations outside the tunnel, reintroduces direct connections. RFC 8828 treats the split-tunnel case as the most significant privacy concern in its discussion of WebRTC, because the ISP address can surface next to the VPN address.
DNS Resolution Path
Before connecting to a hostname, software needs an IP address for it. RFC 1034 describes the resolver as a routine on the local host that queries name servers on behalf of programs. If the browser resolves a name locally before contacting the proxy, the configured resolver can see that lookup. Cached answers and browser-specific DNS settings affect which requests it receives. SOCKS5 avoids this when the client passes the domain name to the proxy, which RFC 1928 allows through its domain-name address type, so the proxy performs the lookup. HTTP proxy requests and HTTPS CONNECT requests can carry hostnames for proxy-side resolution, but separate browser lookups may still occur. This path is usually discussed as a DNS leak, a related but separate topic.
WebRTC Connectivity Checks
WebRTC gathers candidate addresses for direct peer connections. A browser may send STUN requests outside a configured HTTP proxy. The resulting server-reflexive candidate can reveal an ISP-facing public address if that path bypasses the intended tunnel. The candidate list may also include private LAN addresses. RFC 8828 describes policy choices that balance connectivity and address exposure. Browsers may replace host addresses with mDNS names or restrict candidate gathering. These protections depend on implementation and policy; they do not make every observed candidate a leak.
IPv6 Alongside IPv4
Many networks are dual-stack. If an intermediary carries IPv4 traffic only and the destination has an IPv6 address, the operating system may prefer IPv6 and connect directly. The exposed address identifies the network prefix of the real connection. RFC 8981 temporary addresses change the host part over time, which limits long-term correlation but does not hide the prefix, so the leak remains.
Tunnel Interruptions
If a VPN tunnel drops, applications may retry over a restored direct route. A correctly configured traffic-blocking policy can stop that fallback until the tunnel returns. A leak of this kind is brief and intermittent, which makes it hard to reproduce with a single check.
IP Leaks vs DNS and WebRTC Leaks
The three terms overlap because WebRTC and DNS are two of the paths through which an address can escape. They differ in what is exposed and to whom.
| Term | What is exposed | Who observes it | Typical mechanism |
|---|---|---|---|
| IP leak | Public or private address of the user's own connection | Destination server or any host receiving direct traffic | Direct traffic or identifying forwarded metadata |
| DNS leak | Hostnames being looked up, plus the resolver in use | The DNS resolver and its operator | Name resolution takes a different path than the connection |
| WebRTC leak | ICE candidate addresses, possibly including the real public address | The page's JavaScript and the remote peer | Candidate gathering uses direct STUN or local interfaces |
A DNS leak does not necessarily reveal the public IP address to the website, but it reveals browsing destinations to the resolver. WebRTC is one possible route to IP exposure even when HTTP requests are routed correctly. Forwarded headers are another: a proxy can include the original client address as application metadata, independently of the packet's exit address.
How Leak Checks Work and Where They Stop
A leak check page compares what it observes with what the visitor expects. It records the source address of the HTTP request, typically over both IPv4 and IPv6, triggers DNS lookups for unique hostnames to learn which resolver addresses contact its name servers, and asks the browser to gather WebRTC candidates. The visitor then compares each observed address with the proxy or VPN address.
Such a check has limits. It reflects one browser, one moment and one page. It cannot observe traffic from other applications, cannot detect a tunnel drop that happens later, and cannot see a leak on a protocol it did not exercise. A WebRTC section showing no local address does not prove that other paths are closed. A check service observes address information and may log it, so the choice of tool is part of the privacy decision.
This glossary page describes the method. It does not run a test or report a visitor's address.
Limitations of the Concept
An exposed IP address identifies a network allocation, not a person. IP-based geolocation estimates a location using network and database evidence, with accuracy that varies by provider and address type. Mobile and residential addresses change hands, and many users share one address behind carrier-grade NAT. Hiding the address also does not remove other identifiers: cookies, logged-in accounts and browser signals can associate activity across different exit addresses. Preventing unwanted exposure requires checking routing and any identifying metadata, not just changing the visible address.