IP leaks to tracker with bound interface, split tunnel #16935

Open
opened 2026-02-22 03:32:51 -05:00 by deekerman · 0 comments
Owner

Originally created by @Autori on GitHub (Jun 8, 2025).

qBittorrent & operating system versions

qBittorrent: 5.1.0
Operating system: Windows 10 Enterprise LTSC x64 21H2
Qt: 6.9.0
Libtorrent: 2.0.11.0
Boost: 1.86.0
OpenSSL: 3.5.0
zlib: 1.3.1

What is the problem?

The real IP leaks even with qBittorrent bound to VPN interface. VPN interface has higher metric to not route everything through (eg. browser). When starting a torrent, announces can be seen first on VPN interface but a few of them can be seen on Ethernet interface too. Changing libtorrent version (qBittorrent Windows x64 vs qBittorrent Windows x64 (qt6 lt20)) didn't help.

Steps to reproduce

See also attached demo video.

  1. Setup a VPN (eg. VPNGate), set the VPN interface as higher metric
  2. Bind qBittorrent to VPN interface
  3. Set download speed to a few KiB/s so we can test in peace
  4. Restart qBittorrent
  5. Add a torrent as stopped
  6. Modify torrent settings: DHT, PEX, LSD disabled, WebSeeds removed, http trackers added (I didn't test UDP leaks for now)
  7. Watch both Ethernet and VPN interface http traffic
  8. Start the torrent
  9. See that a few requests are made outside of bound interface

Additional context

Torrent file used: https://cdimage.debian.org/debian-cd/current/amd64/bt-cd/debian-12.11.0-amd64-netinst.iso.torrent

Demo video: https://files.catbox.moe/pzfqi2.mp4

Similar issue: https://github.com/qbittorrent/qBittorrent/issues/17449

Log(s) & preferences file(s)

qbittorrent.log

Originally created by @Autori on GitHub (Jun 8, 2025). ### qBittorrent & operating system versions qBittorrent: 5.1.0 Operating system: Windows 10 Enterprise LTSC x64 21H2 Qt: 6.9.0 Libtorrent: 2.0.11.0 Boost: 1.86.0 OpenSSL: 3.5.0 zlib: 1.3.1 ### What is the problem? The real IP leaks even with qBittorrent bound to VPN interface. VPN interface has higher metric to not route everything through (eg. browser). When starting a torrent, announces can be seen first on VPN interface but a few of them can be seen on Ethernet interface too. Changing libtorrent version (qBittorrent Windows x64 vs qBittorrent Windows x64 (qt6 lt20)) didn't help. ### Steps to reproduce See also attached demo video. 1. Setup a VPN (eg. VPNGate), set the VPN interface as higher metric 2. Bind qBittorrent to VPN interface 3. Set download speed to a few KiB/s so we can test in peace 4. Restart qBittorrent 5. Add a torrent as stopped 6. Modify torrent settings: DHT, PEX, LSD disabled, WebSeeds removed, http trackers added (I didn't test UDP leaks for now) 7. Watch both Ethernet and VPN interface http traffic 8. Start the torrent 9. See that a few requests are made outside of bound interface ### Additional context Torrent file used: https://cdimage.debian.org/debian-cd/current/amd64/bt-cd/debian-12.11.0-amd64-netinst.iso.torrent Demo video: https://files.catbox.moe/pzfqi2.mp4 Similar issue: https://github.com/qbittorrent/qBittorrent/issues/17449 ### Log(s) & preferences file(s) [qbittorrent.log](https://github.com/user-attachments/files/20643842/qbittorrent.log)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#16935
No description provided.