Test your VPN for leaks
Short answer: a leak is traffic that escapes the VPN tunnel — your real IP address, your real DNS queries or your local addresses showing up despite the VPN being connected. Test with the VPN off first (a baseline), then on, and check four things: public IP, DNS servers, WebRTC and IPv6. Mobile devices have documented leak classes no app can fully fix.
Step 1: take a baseline with the VPN off
Before you connect the VPN, visit the test tools below and note what a “leaked” state looks like: your real IP address and your ISP’s DNS servers. Without the baseline you can’t tell whether what you see later is a leak or the VPN working correctly.
Step 2: connect and test
Use each tool with the VPN connected, and compare against the baseline:
| Test | Tool | What a leak looks like |
|---|---|---|
| Public IP and its owner | ipleak.net | Your real ISP or home city appears |
| DNS servers | dnsleaktest.com — run the Extended test | Your ISP’s resolvers appear instead of the VPN’s DNS |
| WebRTC local IP exposure | browserleaks.com/webrtc | Local or public IPs appear that aren’t the VPN’s |
| All-in-one connection check | Mullvad’s connection check | Red indicators for DNS or other leaks |
Run the DNS test in the Extended mode: the quick test only queries a handful of resolvers, while the extended test routes lookups through many, which is how leaks from cached or split DNS setups show up. Also test in each browser you actually use — a leak can be browser-specific.
WebRTC: the browser-level leak
WebRTC, the browser feature behind video calls, can reveal IP addresses independently of page traffic. In Firefox you can disable WebRTC peer connections entirely:
- Type
about:configin the address bar and accept the warning. - Search for
media.peerconnection.enabled. - Toggle it to false. Re-run the WebRTC test to confirm.
Mozilla documents this preference in its WebRTC privacy notes. Two honest caveats: disabling WebRTC breaks some
video-calling sites, and Firefox for Android restricts about:config — users on the release channel
report it is unavailable there, with the Beta and Nightly builds still offering it. Browsers without a switch rely
on their own mitigations — test, don’t assume.
IPv6 leaks
Many VPNs tunnel IPv4 but mishandle IPv6. If your home connection has IPv6 (most UK broadband providers do), a VPN that doesn’t handle it can leave your IPv6 address visible even while your IPv4 traffic is tunnelled. ipleak.net shows both address families. Some apps handle this by blocking IPv6 while connected, some by tunneling it; Proton and others document their per-platform approach. If you see an IPv6 address from your ISP in the test results, you have a leak to fix before trusting the setup.
What you cannot fully fix: mobile OS leaks
Desktop VPN setups can be made watertight. Phones cannot, entirely — and it’s important to say that plainly:
- Android: Mullvad has documented a series of leaks that no VPN app can prevent — connectivity-check traffic sent outside the tunnel when joining Wi-Fi (October 2022), DNS leaks via apps that call the system resolver directly (May 2024), and two Android 16+ bugs where any app, with no special permissions, can send traffic outside the tunnel: one via a QUIC connection-close API (May 2026) and one via hardware-offloaded keep-alive packets (September 2026). “Block connections without VPN” does not live up to its name. Details and mitigations on our Android setup page.
- iOS: even when a VPN uses Apple’s strictest mode (includeAllNetworks), Apple always excludes certain traffic from the tunnel: DHCP network-control traffic, captive-portal negotiation, cellular services such as VoLTE, and traffic to companion devices like an Apple Watch. Details on our iPhone page.
So treat a clean leak test as necessary, not sufficient: a phone that passes every browser test may still emit unrouted system traffic by design of the operating system.
Re-testing
Re-run the tests after: changing providers or servers, major app or OS updates, and switching networks (home, mobile data, public Wi-Fi behave differently). A VPN that passed in March can leak after an OS update in September — several of the documented Android leaks are exactly that pattern.
What this does NOT tell you
A leak test checks your device and network configuration. It cannot verify what the VPN provider logs on its servers, whether its ownership has changed, or whether it would honour its privacy policy under legal pressure — for that, see how to choose a VPN and the audit records on our paid VPN page.
Sources
- MozillaWiki — Media/WebRTC/Privacy (preference documentation), accessed 1 Dec 2026.
- Mullvad — DNS traffic can leak outside the VPN tunnel on Android (May 2024), accessed 1 Dec 2026.
- Mullvad — Any app on recent Android versions can leak certain traffic (May 2026), accessed 1 Dec 2026.
- Mullvad — Another way to leak traffic on Android has been discovered (September 2026), accessed 1 Dec 2026.
- Apple — NEVPNProtocol.includeAllNetworks developer documentation, accessed 1 Dec 2026.
- Mullvad — Check for leaks (connection check), accessed 1 Dec 2026.
- dnsleaktest.com — DNS leak test, accessed 1 Dec 2026.