On this page
How it works
While the VPN is on or reconnecting, the system firewall lets traffic through the tunnel only. If the link drops, sites go silent until the VPN is back up. Turn the VPN off yourself and the internet comes back.
There are two kinds of kill switches. One closes chosen apps when the VPN drops. The other works at the system level: it forbids any traffic except to the VPN server itself, so nothing slips out, not even background updates. The second kind is more reliable, because it doesn't depend on the app noticing the drop in time.
When it triggers
- You switch from one Wi-Fi to another or from Wi-Fi to mobile data.
- The computer wakes up after sleep and the tunnel hasn't come back yet.
- The VPN server restarts or stops answering.
- The network starts cutting the protocol in the middle of a session.
- The VPN app closes or crashes while connected.
When you need it
- On open networks: in a café, an airport, a hotel.
- When sites must not see your real address even for a second.
- During long downloads that shouldn't go direct after a drop.
What you see and why
No internet for a few seconds after pressing Connect
WhyThe tunnel is coming up, the kill switch holds traffic
What to doWait for the status to turn green
No internet, the VPN is reconnecting
WhyThe link dropped, the kill switch doesn't let traffic go direct
What to doWait, or pick another server
The printer, network drive or TV disappeared
WhyThe kill switch closed the local network too
What to doAllow the local network
The app closed, and there's still no internet
WhyThe protection didn't get to turn off
What to doStart the app again: it opens the internet by itself
In "only selected through the VPN" mode other apps work
WhyThat's by design: the kill switch covers what goes through the VPN
What to doNothing, everything is right
How to check that it works
Run a command that asks for your address once a second, and then break the link: turn off Wi-Fi for a few seconds or switch networks. While the VPN reconnects, the lines should be empty or show the server's address. Your own address should not appear even once. Stop the command with Ctrl+C.
while ($true) { curl.exe -s -m 3 https://api.ipify.org; Write-Host; Start-Sleep 1 }while true; do curl -s -m 3 https://api.ipify.org; echo; sleep 1; doneAndroid has its own
On Android the system itself can keep traffic from going past the VPN. Settings → Network & internet → VPN → the gear next to the app: turn on "Always-on VPN" and "Block connections without VPN". The names differ a little between phone brands. With it on, the phone doesn't go to the internet while the VPN is down, even right after a reboot.