KotoVPN

Guide · Updated August 14, 2026

How to bind qBittorrent to a VPN so it cannot leak

How do I bind qBittorrent to my VPN?

How do I bind qBittorrent to my VPN?

In qBittorrent, open Tools → Options → Advanced and set "Network interface" to your VPN adapter rather than Any interface. The client then refuses to send or receive on any other adapter, so if the tunnel drops, torrents stall instead of falling back to your real connection. This is more reliable than a kill switch, because nothing has to detect the failure for it to work.

Why binding beats relying on a kill switch

A kill switch is reactive. Something has to notice the tunnel died and then block traffic, and between the death and the noticing there is a window. On an unstable connection that window recurs every time the tunnel renegotiates, and a torrent client is precisely the software that will use it, because it is always trying to talk to somebody.

Interface binding is structural. You tell qBittorrent that one specific adapter is the only one it may use. If that adapter disappears, there is nothing to fall back to — the client simply cannot send. No detection, no race, no window.

They are complementary rather than alternatives, and you should run both. The kill switch protects everything else on the machine; binding protects the one application most likely to exploit a gap.

Doing it, step by step

Connect the VPN first. The adapter has to exist before qBittorrent can list it.

Go to Tools → Options → Advanced. Scroll to the qBittorrent section and find "Network interface" - it sits below the storage and cache settings rather than at the top of the page. Change it from "Any interface" to your VPN adapter. WireGuard connections usually appear under the provider name or as "WireGuard Tunnel"; OpenVPN typically shows as a TAP or TUN adapter.

Below it is "Optional IP address to bind to". Leave it on "All addresses". Pinning one specific address breaks silently whenever the tunnel is reassigned a new one, and it does nothing to stop IPv6 escaping from anything else - handle IPv6 in the VPN client or the operating system, not here.

Apply, then verify. Disconnect the VPN with a torrent running. Transfers should stall immediately and the tracker status should show stalled or an error. If anything keeps downloading, the binding did not take.

  • Tools → Options → Advanced → Network interface → select the VPN adapter
  • Leave "Optional IP address to bind to" on All addresses, or pick IPv4 to exclude IPv6
  • Test by disconnecting the VPN with an active transfer and confirming it stalls

The adapter-name problem, and how to survive it

Current qBittorrent stores the interface by name and refuses to listen when that adapter is missing, which fails closed - the behaviour you want. The fragile part is the separate bind-to-IP-address setting: pin one specific address and it goes stale every time the tunnel is assigned a new one, and the client stops working with no obvious cause. Much older builds did revert to Any interface, so on anything ancient, verify rather than assume.

Check the setting after any client update, and after any reboot where the VPN reconnected differently. If it reads "Any interface" again, it reverted while you were not looking.

The stronger version of this defence is a firewall rule blocking qBittorrent from sending on any interface other than the tunnel, enforced by the operating system rather than inside the application. It survives client updates and adapter churn, at the cost of being more work to set up.

Avoid

  • Setting the binding while the VPN is disconnected — the adapter will not be listed
  • Assuming it stays set; verify after updates and reboots
  • Binding to the physical adapter by mistake, which achieves the exact opposite

Port forwarding, and why your speeds may still disappoint

With the client bound and the tunnel up you are protected, but possibly passive. Without an inbound port your client can only connect to peers that accept incoming connections; peers behind their own NAT cannot reach you. On a well-seeded torrent you will not notice. On anything sparse, you will.

Of the four providers we cover, Proton VPN includes port forwarding in the subscription. PureVPN and FastestVPN sell it as a paid add-on. NordVPN does not offer it at all, so a bound qBittorrent on NordVPN will always run passive.

How you set the port depends on the provider, and getting this backwards is the usual way people break it. Proton VPN hands out its forwarded port over NAT-PMP on a short lease that has to be renewed, so NAT-PMP must stay ON and there is no port for you to type in. Where a provider gives you a fixed port in its dashboard instead, put that in Options → Connection and turn UPnP/NAT-PMP off, so the client is not also trying to map a port through your own router.

Questions

How do I know if qBittorrent is really bound to the VPN?
Disconnect the VPN while a torrent is actively transferring. If binding is working, transfers stall within a second or two and the tracker column shows stalled or an error. If the download continues at any speed, traffic is leaving over your real connection and the binding is not in effect.
Does binding replace a kill switch?
No — it covers one application. Binding stops qBittorrent leaking; it does nothing for your browser, your update checker, or anything else on the machine. Use both: the kill switch for system-wide coverage, binding for the application most likely to exploit a gap.
Why did my binding reset to "Any interface"?
On current builds it should not - qBittorrent keeps the interface by name and simply stops listening when that adapter is absent. If yours did revert, you are on an old build and that alone is reason to update. What does break quietly is a pinned bind-to-IP-address when the tunnel is given a new address.
Do I need port forwarding to torrent through a VPN?
No, but without it your client is passive and can only reach peers who accept inbound connections. On popular torrents this is barely noticeable; on sparse ones it can be the difference between a slow download and none. Proton VPN includes it, PureVPN and FastestVPN charge extra, NordVPN does not offer it.

Terms used here

Kill switch

A control that blocks all internet traffic if the VPN tunnel drops, rather than letting it fall back to your normal connection.

Port forwarding

Allowing inbound connections to reach your device through the VPN, rather than only outbound connections.

NAT

Sharing one public address between many devices, which is how commercial VPN servers put hundreds of users behind a single IP.

IPv6 leak

When a tunnel carries only IPv4 while your connection also has IPv6, so IPv6-capable sites see your real address.

Split tunnelling

Routing some applications or destinations through the VPN while leaving others on your ordinary connection.

Related