Guides

Kill switch and leaks: DNS, WebRTC, IPv6

A kill switch blocks all internet traffic the moment the VPN tunnel drops, so apps cannot quietly fall back to your regular connection. Without one, even a two-second break reveals your real IP address. And even with the tunnel working, DNS queries, WebRTC in the browser and IPv6 traffic can slip around it. Every leak has a simple check and a fix.

A dropped tunnel fails open

When the VPN connection drops, the operating system quietly routes traffic through the regular interface. Apps keep working, and nothing warns you. A kill switch turns failing open into failing closed: no tunnel, no traffic.

Leaks happen with the tunnel up

DNS queries can go to your provider’s resolver around the tunnel, WebRTC can hand your addresses to sites, and IPv6 can bypass an IPv4-only tunnel — all while the VPN icon says “connected”.

Every leak can be checked

You do not have to trust settings screens. A leak test shows which addresses and resolvers sites actually see, and breaking the tunnel on purpose shows whether the kill switch holds.

What happens the moment the tunnel drops

The connection fails open. A VPN adds routes that send traffic into a virtual network interface. When the tunnel process dies or times out, those routes disappear while the default route through Wi-Fi or Ethernet stays — so the system keeps delivering packets, now directly through your provider. Apps reconnect their sockets within seconds, sending traffic from your real IP, and no error dialog appears anywhere.

Drops are routine. Switching from Wi-Fi to mobile data, waking a laptop from sleep, a flaky hotel network or a VPN server restart all break the tunnel for a moment. What that moment costs depends on whether anything is allowed to leave your device while the tunnel is down.

What a kill switch actually does

A kill switch is a set of firewall rules, not magic. A strict version allows only two kinds of outgoing traffic: packets entering the tunnel interface, and the VPN client’s own encrypted packets to the server. If the tunnel goes down, app traffic simply has nowhere to go until it comes back.

This changes the failure mode, not the failures. With a kill switch, a drop becomes a paused connection that you notice; without one, it becomes traffic on your real address that you do not. Networks are imperfect and tunnels will still break — failing closed makes those moments harmless.

A system kill switch versus an in-app switch

The difference is what happens when the app itself dies. An in-app kill switch is code inside the VPN client that watches the tunnel and blocks traffic when it falls. It works only while the client is running: if the client crashes or is killed by a battery optimiser, its protection dies with it — exactly when the tunnel disappears.

A system kill switch installs rules in the operating system’s own firewall, which inspects every outgoing packet whatever apps are running. On Android this is built in: always-on VPN plus blocking connections without VPN make the OS itself refuse traffic outside the tunnel, even before the app starts after a reboot. A simple way to tell them apart: force-quit the VPN app while browsing — if pages still load, the switch lives in the app.

DNS leaks: lookups around the tunnel

A DNS leak means your name lookups go to the resolver the local network assigned — usually your provider’s — even though the traffic itself travels through the tunnel. Sites see the VPN address, but the resolver receives the name of every site you open, which amounts to a browsing log. Windows is the classic offender: with several active interfaces it can query all of them in parallel and use whichever answers first.

The fix has two parts, and a good client does both: point the system at a resolver inside the tunnel, and block DNS on every other interface so a stray query has nowhere to go. Then check: run a leak test and look at the resolvers listed — if even one belongs to your provider, your lookups are leaking.

WebRTC leaks: the browser gives out addresses

WebRTC is the browser technology behind video calls, and any site can invoke it with a couple of lines of JavaScript. To set up direct connections it gathers every address that can reach your machine: local addresses and, by asking a STUN server, your public one. A page can read these candidates without your involvement.

With a whole-device tunnel, the STUN request travels inside the tunnel and so discovers the VPN address. Partial setups are the dangerous ones: a browser-only proxy or split tunnelling that leaves the browser outside — there, WebRTC’s UDP packets go out directly and reveal your real IP.

Test, do not reason: our free checker at /webrtc-leak-test/ shows which addresses your browser reveals right now. If your real one appears, move to a whole-device tunnel or turn WebRTC off in your browser settings.

IPv6 leaks: a tunnel that covers only IPv4

Many VPN configurations carry only IPv4. If your provider also gives you IPv6 — most mobile networks do — the system keeps a working IPv6 route outside the tunnel, and modern systems prefer IPv6 when a site offers both. The result is selective exposure: sites without IPv6 see the VPN address, sites with it see your real one, and an IPv4-only test reports that all is well.

There are two clean fixes. The better one is a VPN that handles IPv6 properly: it tunnels it along with IPv4 or sets a blocking route so IPv6 packets are dropped rather than sent directly. The blunt fallback is to turn IPv6 off on the device or router. Either way, check: a leak test should show no IPv6 address that is not the VPN’s.

How to check your setup properly

Run the checks in the conditions you actually use — home Wi-Fi, your phone on mobile data, a café network — because leaks depend on each network’s DNS setup and IPv6 availability. The routine takes about five minutes:

  • Note your real IP with the VPN off, connect, and make sure the visible IPv4 and IPv6 addresses have both changed — /check-my-ip/ shows your visible IP, and /webrtc-leak-test/ the addresses WebRTC reveals
  • Check the resolver list: every DNS server shown should belong to the VPN, none to your provider
  • Break the tunnel on purpose — toggle Wi-Fi or force-quit the app — and see whether pages load before it reconnects
  • Repeat after OS or VPN app updates, since both can quietly reset network settings

FAQ

Frequently asked questions

What is a VPN and why do I need one?

A VPN encrypts your internet traffic and hides your real IP address. It protects your data on open networks, blocks tracking and unlocks content unavailable in your region.

Is using a VPN legal?

In most countries, yes: a VPN is an ordinary privacy tool. Some countries restrict it — check the rules where you are.

How many devices can I connect?

Up to 7 at once, depending on your plan: phones, laptops, tablets, and more.

Do you keep logs?

No. We don’t track, collect, or store your browsing activity, IP address, or connection data.

How do refunds work?

Every plan comes with a 14-day money-back guarantee: write to support within 14 days of paying.

Will it work in my country?

Our servers use several protocols, including ones built to keep working on networks that interfere with VPN traffic.