Verify evidence Search

Leaks

Kill switch

Also known as
  • VPN kill switch
  • VPNL-G-006
  • Leaks
  • Version 1.1
  • Updated

Definition

A kill switch is a VPN client feature that blocks network traffic whenever the VPN tunnel is not active, so that data cannot leave the device unprotected during disconnections, reconnections or network changes.

Kill switch explained

Without a kill switch, a dropped tunnel usually makes the operating system fall back to the physical network’s default route, and applications continue sending traffic in the clear — often without the user noticing. A kill switch prevents this with firewall rules (for example through the Windows Filtering Platform, pf on macOS or nftables on Linux) that allow traffic only through the tunnel interface and to the VPN server itself.

Implementations differ in two ways that matter for testing. Scope: an application-level kill switch only terminates selected programs, whereas a system-level kill switch blocks all traffic. Timing: some clients enable blocking only after they detect a drop, leaving a window in which packets escape; others keep the block in place for as long as the VPN is switched on, often labelled “always-on” or “strict”. On Android, the system settings “Always-on VPN” and “Block connections without VPN” provide this at operating-system level; iOS offers VPN apps a comparable option (includeAllNetworks), whose use depends on the app.

A kill switch can conflict with captive portals, access to local devices such as printers, and split tunnelling. The exceptions created for those cases are a common source of leaks and need to be tested separately.

How VPN Labs tests it

VPN Labs forces tunnel failure in several ways — terminating the client process, blocking the VPN server’s address upstream, switching networks, and suspending and resuming the device — while capturing all traffic on the physical interface. A scenario passes only if, in all 20 runs, no packet leaves the device outside the tunnel other than the pre-declared permitted local traffic (ARP, neighbour discovery, DHCP, link-local name resolution). The kill switch is tested in its default setting and in its strictest mode (the default and hardened profiles).

The methodology pages are the authoritative description of each procedure; this summary is for orientation.

Research on this topic

VPN Labs publications that discuss kill switch in depth.

Cite this definition

VPN Network Research Labs. (2026). Kill switch. VPN Labs Glossary. https://vpn.com.de/glossary/kill-switch

Glossary v1.1 · term ID VPNL-G-006 · last updated . The definition may be quoted with attribution; report errors under the corrections policy.