Jump to content

Configure qBittorrent to block transfers on VPN disconnect


Batu69

Recommended Posts

If you are using a virtual private network while downloading torrents, then you may be interested in an option that qBittorrent makes available that blocks transfers automatically if the VPN connection drops.

 

VPNs are useful to improve your privacy on the Internet but like any other connection, they may disconnect from time to time.

While some services come with kill switches that prevent data transfers until the VPN connection has been established again, it is not the case for all and usually only available if you use a program provided by the VPN to connect to it but not if you use the operating system's build-in functionality to do so.

qBittorrent and VPNs

qbittorrent_kill_connection.png

 

One feature of qBittorrent, a popular cross-platform torrent client, is such a kill switch. Basically, what it does, is monitor a specific network connection to block all file transfers (up and down) if the network connection changes.

 

This can be useful to block torrent traffic if the connection to the VPN terminates, but also for other things like making sure that torrents are only downloaded or uploaded when the device is connected to a specific network adapter (say only when it is connected to Ethernet and not Wifi).

 

Here is what you need to do to configure the feature:

 

First thing you need to do is find out how the network connection / adapter that you want qBittorrent to use exclusively is named.

 

If you know that already, skip the following step.

  1. Use Windows-Pause to open the Windows Control Panel.
  2. Select Control Panel Home on the screen that opens.
  3. Select Network and Internet from the selection menu.
  4. Click on Network and Sharing Center on the next page.
  5. Select change adapter settings.
  6. There you find listed all network connections. Identify the one used by the VPN.

Once you know the name of the network connection, you may set up qBittorrent to use it exclusively.

  1. Open the qBittorrent program on your system.
  2. Select Tools > Options, or use the shortcut Ctrl-O to do the same.
  3. Switch to the advanced listing.
  4. Scroll down until you find "network interface" listed as a setting.
  5. Click on "any interface", and switch the value to the network connection you have identified previously.
  6. Click apply and ok.
  7. Restart qBittorrent.

It may be a good idea to test the setting to make sure it works correctly. What you can do is use a different connection, e.g. no vPN connection and start the program to see if traffic is blocked. Or, and that may be even better, start qBittorrent connected to the exclusive network connection you have configured, and terminate that connection after a moment to see if the BitTorrent client will block all traffic. (Thanks Don)

 

Article source

Link to comment
Share on other sites


  • Replies 1
  • Views 1k
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...