Do you need a kill switch for torrenting over a VPN?
Yes, when downloading and seeding torrents over a VPN, a properly configured and tested kill switch is needed to protect your real IP: how blocking behaves during a failure depends on the chosen mode and the scenario. As Gizmodo explains, without this feature the torrent client keeps transmitting after the VPN drops and exposes the IP to other peers in the swarm. A kill switch is designed to block internet access until the tunnel is restored; the chosen mode should be tested on disconnection and reboot.
Choosing the right mode for torrenting
Choose a mode that stops transmission when the secure connection drops. According to Gizmodo, a VPN can drop when Wi-Fi changes, when a laptop wakes from sleep, when a server is overloaded or when a process fails. Even a short disconnection lets the torrent client transmit data over the regular network, so protection should be tested on a stable connection as well.
The mode depends on which access you want to block:
| Mode | Action | When it is useful |
|---|---|---|
| Blocking on disconnection | Stops internet access until the VPN is restored | Transmission must be interrupted when the tunnel is lost |
| App blocking | Closes the selected torrent client | The browser must stay online |
| Permanent blocking | Blocks internet access without the VPN switched on | Access must depend on the VPN being active |
The NordVPN App Kill Switch closes selected applications. For this mode to protect torrent downloads, add the torrent client to the list. The Proton VPN Advanced kill switch blocks internet access without the VPN switched on. The choice depends on your task: keeping the browser online or blocking the entire connection.
Protection is needed not only while downloading. P2P means exchange between participants, so it is important to hide your real IP both when receiving files and when sending them to others.
What Gizmodo's checks showed
An IP check with the VPN running does not yet show whether the kill switch will protect you after a failure. In a comparison of five VPNs, Gizmodo found no IP or DNS leaks in routine checks. DNS is the system that maps domain names to network addresses. The absence of leaks in these queries does not answer the question of what will happen on a disconnection or reboot.
Gizmodo's test showed the difference between the modes: PIA let traffic through during a reboot with the standard kill switch, but passed the check with Advanced. So, for protection during that kind of restart, Advanced should be switched on in PIA. This is a hands-on editorial test, not an academic study.
In Gizmodo's test, NordVPN kept blocking traffic during a PC reboot without any settings changes. This matters if the torrent client can start transmitting before the VPN is restored. What needs checking is precisely the order in which network access returns.
In separate Gizmodo tests, NordVPN, Proton VPN and ExpressVPN passed cable-disconnection and reboot checks on Ubuntu 24.04. The result applies to the tested scenario: it cannot be automatically extended to the mobile app or another blocking mode.
How to set up protection on mobile devices
On a mobile device, take both the VPN mode and the limits of the operating system into account. In Mullvad, the built-in kill switch works all the time and cannot be switched off, so there is no separate toggle for it. This is described in the app documentation.
For additional system-level blocking on Android, you need the operating system's own settings:
- In the Android VPN settings, switch on Always-on VPN for Mullvad.
- In the same settings, switch on Block connections without VPN so that the system blocks connections outside the VPN.
At the same time, the Mullvad documentation warns that some Android system traffic bypasses the VPN even when Block connections without VPN is switched on. Mullvad says that it has reported the routing issues in the Android issue tracker. This is a developer's message about faults in Android, not the result of an independent leak test.
In Proton VPN's guide, the Advanced kill switch section for iOS and iPadOS is marked as beta. This mode blocks internet access without the VPN switched on. When choosing a mode, go by exactly how it blocks access.
How to check protection after a failure
The check must confirm that when the VPN fails, transmission over the regular network stops as well. The author of the HackersGhost guide suggests deliberately causing a tunnel failure and watching the rest of the traffic.
The guide describes seven Linux checks. They cover interface identification, a separate nftables policy, DNS and IPv6 protection, rule management, failure simulation, safe profile changes and rule persistence. Here, nftables manages the firewall rules, and IPv6 is one of the options for IP addressing.
If you have tied the rules to a server manually, you will have to update them when you change profile. Check such a configuration in the following order:
- Check whether the interface and the VPN server address in the firewall rules match the profile in use.
- After changing the VPN profile, update the rules associated with it.
- Repeat the public IP, DNS, IPv6 and forced VPN disconnection checks.
When working with the rules, bear in mind HackersGhost's warning about the command sudo nft flush ruleset. It deletes all nftables rules, including the rules of other services.
A successful disconnection check is not enough: the protection must also hold when the system starts. According to the OneUptime guide, iptables rules are lost on reboot unless they are saved. The systemd approach described there applies the blocking before the network interfaces are configured. So, after a disconnection test, check whether the protection still holds when the system starts.
To complement the disconnection test, use the instructions for checking WebRTC and IPv6 leaks.
What to do before downloading and seeding
Switch the protection on before the torrent client starts transmitting data. In your preparation, take both a possible connection drop and the system starting up into account: both scenarios affect the client's access to the network.
| Situation | Action |
|---|---|
| Starting a download or seeding | Switch on the kill switch before transmission begins |
| The browser must stay online | Choose to close the torrent client with the App Kill Switch |
| Internet is allowed only over the VPN | Use permanent blocking without VPN |
| A manual Linux profile has been changed | Update the rules and repeat the failure check |
CitadelVPN is suitable for torrent downloads and seeding thanks to its combination of connection blocking and permitted P2P. To protect your real IP when the tunnel is lost, you need a kill switch that is switched on, with a mode tested on disconnection and reboot.