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 and verification
Every factual claim on this page is registered and independently checked (two independent sources for legal, numeric and security claims). How this works: fact-checking. Spotted an error? Tell us.
Mozilla documentation states that firefox's WebRTC IP-leak behaviour is controlled by configuration preferences; setting media.peerconnection.enabled to false in about:config disables the creation of WebRTC peer connections in Firefox. attributed
- Mozilla — Media/WebRTC/Privacy — MozillaWiki
Users on Mozilla support forums report that Users on Mozilla's support forums report that the about:config configuration editor is unavailable in the standard Firefox for Android release channel, with the Beta and Nightly builds still offering it. single-source attributed
- Mozilla Support — Firefox for Android: about:config availability (support forum thread)
Mullvad documented in May 2024 that Android can leak DNS traffic outside the VPN tunnel for apps calling the system resolver directly, including while a tunnel is being reconfigured, regardless of whether Always-on VPN and 'Block connections without VPN' are enabled. attributed
- Mullvad VPN AB — DNS traffic can leak outside the VPN tunnel on Android
Mullvad documented in May 2026 that any app on Android 16 and later can send UDP traffic outside the VPN tunnel — exposing the device's real IP address — by misusing the registerQuicConnectionClosePayload system API, bypassing 'Always-on VPN' with 'Block connections without VPN'. attributed
- Mullvad VPN AB — Any app on recent Android versions can leak certain traffic
Mullvad documented in September 2026 that a malicious app with no special permissions can leak the device's real IP address on Android by misusing a hardware-offloaded NAT-traversal keep-alive API, even when 'Block all connections without VPN' is active. attributed
- Mullvad VPN AB — Another way to leak traffic on Android has been discovered
Apple documents that even when a VPN app enables the includeAllNetworks setting on iOS, the system always excludes from the tunnel: network control-plane traffic such as DHCP, captive-portal negotiation traffic, certain cellular-services traffic such as VoLTE, and traffic to companion devices such as an Apple Watch.