Back to blog

What Is a VPN Kill Switch and Do You Need One?

September 21, 2026 2 min read

VPN connections drop — a Wi-Fi hiccup, a sleeping phone, a server restart. What happens to your traffic in that moment is what a kill switch is for.

The problem it solves

When a VPN tunnel fails, your device may quietly go back to sending traffic over your normal connection. You wouldn't notice, but your real IP address and your traffic are now exposed outside the tunnel, exactly what the VPN was meant to prevent.

What a kill switch does

A kill switch blocks internet access whenever the VPN isn't connected. Traffic only flows through the tunnel or not at all. There are two common styles:

  • Blocking rules at the network level — the device refuses any connection not going through the VPN interface, even during the gap while reconnecting.
  • App-level monitoring — the VPN app watches the connection and cuts traffic when it drops. It can be less reliable, because there can be a brief window before it reacts.

Do you need one?

It depends on the consequences of a leak:

  • Yes, if you use a VPN to hide your traffic from your ISP, or you rely on it to bypass network blocking, or you'd be uncomfortable with any exposed traffic.
  • Maybe not, if you use a VPN mainly for a convenient fixed IP or to reach a private network, where a brief drop is only an inconvenience.

Turning it on with WireGuard clients

Most WireGuard clients route all traffic through the tunnel when the peer's AllowedIPs is 0.0.0.0/0. Beyond that, the options vary by platform:

  • Windows: the official app has a "Block untunneled traffic (kill-switch)" option for full-tunnel configs.
  • Android: enable "Always-on VPN" and "Block connections without VPN" in system settings.
  • Other platforms: check the client's documentation, as support and naming differ.

Test it: connect, then briefly disable the server or your network and confirm nothing loads until the tunnel returns.

A kill switch isn't the whole answer

It prevents leaks from dropped tunnels. It won't fix a missing DNS setting, and it doesn't make a VPN more trustworthy. For DNS, always set a resolver in your client config; without one, connected-but-nothing-loads bugs are common.

With Nullsify, each device gets its own config with sensible defaults, and you can revoke any single device instantly from the dashboard.

Ready to run your own VPN?

Bring your own VPS and have VLESS, AmneziaWG, or WireGuard running in minutes — no manual setup required.