Best for · VPN

How to bind qBittorrent to your VPN so it never leaks your real IP

We read every plan page. Paid links are labelled. Money never changes a ranking. How we pick.

Verdict Our pick

The bar guide has a call.

The vectaai bar guide pointing at the verdict
  • Open qBittorrent, go to Tools, Options, Advanced (on a Mac: qBittorrent, Preferences, Advanced) and change Network interface from "Any interface" to your VPN's adapter.

Compared here

  • 01qBittorrent Network interface setting
  • 02Optional IP address to bind to
  • 03Proton VPN P2P servers
  • 04VPN kill switch

Short answer

Open qBittorrent, go to Tools, Options, Advanced (on a Mac: qBittorrent, Preferences, Advanced) and change Network interface from "Any interface" to your VPN's adapter. Click OK and restart qBittorrent. From then on, torrents only move while that VPN adapter is up; if the VPN drops, qBittorrent stops instead of falling back to your normal connection.

The hard part is knowing which adapter is the VPN. With Proton VPN on Windows it is ProtonVPN TUN (OpenVPN), ProtonVPN (WireGuard or Stealth) or ProTUN (Proton's own protocols); on Linux, tun0 (OpenVPN) or proton0 (WireGuard); on a Mac, the utunX adapter that appears only while you are connected. Proton warns that picking your normal connection by mistake "can expose your real IP address while torrenting, even when kill switch is enabled." Steps read on qBittorrent's and Proton's official pages on 3 December 2026.

Get Proton VPN (P2P servers, port forwarding)See Surfshark

Sponsored links. We may earn a commission; it never changes the pick.

At a glance

Where to bind, by system. Menu paths from qBittorrent's wiki and Proton VPN's support pages, read 3 December 2026. Adapter names below are Proton's; other VPNs use their own names.
SystemMenu path in qBittorrentHow to find the VPN adapterProton VPN adapter names
WindowsTools, Options, Advanced, Network interfaceLook for the VPN's name in the dropdown, or compare ipconfig before and after connectingProtonVPN TUN (OpenVPN), ProtonVPN (WireGuard, Stealth), ProTUN (Proton Protocols)
macOSqBittorrent menu, Preferences, Advanced, Network interfaceRun ifconfig before and after connecting; the new utun adapter is the VPNutun plus a number, for example utun5
LinuxTools, Preferences, Advanced, Network interfaceRun ip addr or ifconfig while connectedtun0 (OpenVPN), proton0 (WireGuard)

A VPN that drops for ten seconds while qBittorrent keeps seeding is a VPN that just showed your real IP address to everyone in the swarm. Binding fixes that. You tell qBittorrent "only ever talk through this one network adapter", and if the VPN adapter goes away, qBittorrent just sits there quietly instead of carrying on over your home connection. Two minutes of setup, and one of the best habits a torrent user can have.

The honest bit: these steps come from qBittorrent's own wiki and Proton VPN's support pages, read on 3 December 2026. We use Proton's adapter names because Proton publishes them; other VPNs name their adapters differently, and we show you how to find yours. Proton and Surfshark pay us a commission through our links. Nothing in the setup depends on which VPN you buy.

What "binding" actually does

qBittorrent's wiki describes the setting plainly: Network interface, default "Any interface", "specifies which network interfaces qBittorrent listens on." On a machine with several connections (Wi-Fi, Ethernet, a VPN), you can "limit which interface should be used to send and transmit data."

"Any interface" means qBittorrent will happily use whatever works. Normally that is the VPN, because the VPN takes over your routing. But the moment the VPN disconnects, reconnects or changes servers, "whatever works" becomes your normal internet. That gap is the leak.

Proton's support page puts it this way: binding "stops torrent traffic from being sent or received outside the VPN connection. It only works if the correct connection is selected in the torrent client settings."

Before you start

  1. Connect your VPN. The VPN adapter often only shows in the list while connected.
  2. Use a server that allows P2P. With Proton, that means a P2P server (marked with a two-arrow icon). Proton's P2P servers are on all paid plans.
  3. Note your VPN protocol. On Proton, the adapter name changes with the protocol.

How to bind qBittorrent to a VPN on Windows

From Proton's guide, using Proton as the example:

  1. Open Proton VPN and connect to any server.
  2. Note the VPN protocol in use.
  3. Open qBittorrent, go to Tools, Options, Advanced, Network interface.
  4. Select the adapter:
    • ProtonVPN TUN if you use OpenVPN.
    • ProtonVPN if you use WireGuard or Stealth.
    • ProTUN if you use Proton Protocols.
  5. Click OK, then close and reopen qBittorrent.

Using a different VPN? The dropdown usually shows a name containing the VPN brand. If not, open Command Prompt, run ipconfig with the VPN off, then again with it on. The adapter that appears only when connected is the one to pick. Do not pick "Ethernet" or "Wi-Fi": that is your real connection.

How to bind qBittorrent to a VPN on a Mac

Mac adapter names are less friendly. Proton's method works for any VPN:

  1. Disconnect the VPN.
  2. Open Terminal and run ifconfig. Leave that window open.
  3. Connect the VPN.
  4. Open a new Terminal window and run ifconfig again.
  5. Compare the two. Look for a new adapter that only appears while connected. Proton's example is utun5.
  6. In qBittorrent, go to the menu bar: qBittorrent, Preferences, Advanced, Network interface.
  7. Pick the adapter from step 5 and click OK.

Catch: Macs create several utun adapters for system features, and the number can shift. If downloads stop after a reboot or VPN update, repeat the check.

How to bind qBittorrent to a VPN on Linux

  1. Connect to the VPN.
  2. In qBittorrent, open Tools, Preferences, Advanced, Network interface.
  3. Select tun0 if you use OpenVPN, or proton0 if you use Proton with WireGuard.
  4. Click OK.

For other VPNs, ip addr while connected shows the tunnel adapter. WireGuard adapters are often named after the config file. On a headless server running qBittorrent-nox, the same setting lives in the Web UI under Advanced.

The setting next to it: Optional IP address to bind to

Right under Network interface sits Optional IP address to bind to, default "All addresses". qBittorrent's wiki literally marks its explanation "TBA". Our advice: leave it alone. Binding to the interface is what keeps traffic in the tunnel. Binding to an IP that your VPN reassigns on reconnect is a quick way to break your downloads.

Change the protocol, change the binding

Proton's page repeats this note for every system: "If you change VPN protocols, you will also need to update the Network interface setting in qBittorrent." Switch from WireGuard to OpenVPN on Windows and the adapter goes from ProtonVPN to ProtonVPN TUN. qBittorrent is now bound to an adapter that does not exist, so nothing downloads. That is the binding doing its job, just annoyingly. Fix the dropdown and carry on.

Add port forwarding (optional, faster seeding)

Binding stops leaks. Port forwarding helps other peers connect to you, which usually means better speeds and healthier seeding. Proton's port forwarding page says it is on all paid Proton plans, on Windows, macOS and Linux, and only works while you are connected to a P2P server. On macOS it is an early-access feature.

In the Proton app, connect to a P2P server and switch Port forwarding on. Proton shows an active port number. Then in qBittorrent:

  1. Go to Tools, Options, Connection.
  2. Untick Use UPnP / NAT-PMP port forwarding from my router. Proton says UPnP and NAT-PMP "can conflict with Proton VPN".
  3. Type Proton's active port into Port used for incoming connections.
  4. Click OK.

The port "usually changes when you reconnect", so update qBittorrent each time. On Linux, Proton writes the current port to /run/user/$UID/Proton/VPN/forwarded_port, which you can script against. Proton also says port forwarding is not compatible with moderate NAT (NAT type 2), and that opening a port carries "a small risk".

How to check the binding works

Two quick tests, no special tools needed:

  1. The pull-the-plug test. Start a legal, popular torrent (a Linux ISO is the classic). Once it is downloading, disconnect the VPN. Speeds should drop to zero and stay there. Reconnect, and it should resume. If it keeps downloading with the VPN off, the binding is wrong.
  2. The IP check. Several sites offer a "torrent IP check" magnet that reports the IP your client announces. It should show the VPN server's IP, never yours. We are not naming one; pick one with a good reputation and treat it as a third party.

Binding vs kill switch: use both

A VPN kill switch blocks internet for the whole computer when the VPN drops. Binding locks one app to the VPN adapter. They cover different failures: a kill switch that is turned off, misconfigured, or slow to react; or a binding pointed at the wrong adapter. Proton's warning is the reason to have both: choosing your regular connection in the torrent client "can expose your real IP address while torrenting, even when kill switch is enabled."

Which VPN for torrenting?

What matters for qBittorrent users: P2P allowed, a working kill switch, and ideally port forwarding. From Proton's pages, P2P servers and port forwarding are on all paid plans, not on Free. Proton's pricing page shows VPN Plus at $9.99 for one month or $3.49 a month on the 2-year deal (billed $83.76 for the first 24 months), with a 30-day money-back guarantee. We dig into Proton's P2P rules in is Proton VPN good for torrenting. Torrent clients are not allowed on the iOS App Store, so Proton's P2P servers matter on desktop and Android.

Common mistakes

  • Picking Wi-Fi or Ethernet because it "looks like the main one". That is your real connection.
  • Forgetting to restart qBittorrent after changing the setting.
  • Changing VPN protocol and not updating the binding.
  • Leaving UPnP on with VPN port forwarding.
  • Assuming the VPN app's "split tunnelling" covers it. Split tunnelling can route qBittorrent outside the VPN if you set it the wrong way. Check it.

The bottom line

Binding qBittorrent to your VPN is a two-minute job: Tools, Options, Advanced, Network interface, pick the VPN adapter, restart. Find the adapter by comparing ipconfig or ifconfig before and after connecting. Re-check it whenever you change protocol. Keep the kill switch on as well. Then pull the plug once to prove it works, and torrent without the background worry.

Questions people ask

How do I bind qBittorrent to my VPN?

Connect your VPN first. In qBittorrent open Tools, Options, Advanced (Preferences on Mac), find Network interface, and change it from Any interface to your VPN's adapter. Click OK and restart qBittorrent. Torrents will then only send and receive over that adapter, and stall if the VPN disconnects.

Which network interface is my VPN in qBittorrent?

It depends on the VPN and protocol. Proton lists ProtonVPN TUN, ProtonVPN or ProTUN on Windows, tun0 or proton0 on Linux, and a utun adapter on Mac. The reliable trick for any VPN: note your adapters with ipconfig or ifconfig, connect the VPN, run it again, and pick the adapter that just appeared.

Do I need to bind qBittorrent if my VPN has a kill switch?

Binding is a second lock on the door, and cheap to add. Proton's support page says selecting your regular connection instead of the VPN can expose your real IP while torrenting even when the kill switch is on. Kill switches cut the whole computer; binding keeps one app inside the tunnel. Use both.

Why did qBittorrent stop downloading after I bound it?

Usually the adapter changed. Proton notes that switching VPN protocol changes the adapter, so you must update the Network interface setting. On a Mac the utun number can change too. Reconnect the VPN, check the dropdown again, select the right adapter, and restart qBittorrent.

Should I use Optional IP address to bind to?

Leave it on All addresses unless you know you need it. qBittorrent's own wiki lists it under Advanced with the default All addresses and no further explanation. The Network interface setting is the one that does the job most people want, which is keeping torrent traffic inside the VPN.

How do I set up port forwarding with Proton VPN in qBittorrent?

On a paid Proton plan, connect to a P2P server and turn on port forwarding in the Proton app. In qBittorrent go to Tools, Options, Connection, untick Use UPnP / NAT-PMP port forwarding from my router, and type Proton's active port into Port used for incoming connections. The port usually changes when you reconnect.

Sources

Every fact above comes from these pages. Prices change, so each one carries the date we read it.

  1. qBittorrent wiki: Explanation of Options in qBittorrent, checked 3 Dec 2026
  2. Proton VPN support: P2P servers and binding your BitTorrent client, checked 3 Dec 2026
  3. Proton VPN support: Port forwarding, checked 3 Dec 2026
  4. Proton VPN pricing, checked 3 Dec 2026