← Glossary

What Is an IP Leak?

An IP leak is the exposure of an IP address that a proxy, VPN or other intermediary was expected to hide. It shows up as a mismatch between the intended exit address and the address a server, resolver or web page actually records.

Updated:

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.

TermWhat is exposedWho observes itTypical mechanism
IP leakPublic or private address of the user's own connectionDestination server or any host receiving direct trafficDirect traffic or identifying forwarded metadata
DNS leakHostnames being looked up, plus the resolver in useThe DNS resolver and its operatorName resolution takes a different path than the connection
WebRTC leakICE candidate addresses, possibly including the real public addressThe page's JavaScript and the remote peerCandidate 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.

Frequently asked questions

Is every different IP a leak?

No. Providers may rotate addresses or use separate IPv4 and IPv6 exits. An address is a concern when it reveals information your configuration was intended to hide. Compare the result with the expected routing and allocation; a different address alone does not establish a leak.

Can a browser proxy cover all traffic?

No. It covers the traffic the browser actually sends through that proxy. Other applications and some browser networking paths can behave differently. Operating-system proxy settings also depend on application support. A VPN can cover a broader scope, but routing exclusions and protocol support still need checking.

Does an IP leak reveal a home address?

An IP address alone does not reliably identify a particular household or person. Geolocation services usually estimate an area, with variable accuracy. Providers and other services may associate addresses with account or connection records, so the wider context can reveal more than an IP lookup by itself.

Does HTTPS prevent an IP leak?

No. HTTPS protects application data in transit, while the underlying connection still uses visible network addresses. The destination also sees data it receives after decryption, including forwarded client information if present. Encryption therefore does not replace correct routing and careful handling of identifying metadata.

Does disabling WebRTC stop all IP leaks?

No. It can remove WebRTC candidate gathering as one exposure path. Relay-only policies can limit which candidates are offered, but DNS routing, direct IPv6 traffic, other applications and tunnel interruptions are separate concerns. Changing WebRTC settings alone does not establish that every network path is covered.