Skip to content

[feature] bind to a specific network device#445

Merged
ikatson merged 8 commits intomainfrom
bind-to-device
Jul 4, 2025
Merged

[feature] bind to a specific network device#445
ikatson merged 8 commits intomainfrom
bind-to-device

Conversation

@ikatson
Copy link
Owner

@ikatson ikatson commented Jul 4, 2025

Supports binding all BT connections to a specific network device. Not supported on Windows.

From --help:

  --bind-device <BIND_DEVICE_NAME>
      What network device to bind to for DHT, BT-UDP, BT-TCP, trackers and LSD. On OSX will use IP(V6)_BOUND_IF, on Linux will use SO_BINDTODEVICE

      [env: RQBIT_BIND_DEVICE=]

Usage:

rqbit --bind-device NAME ...

@ikatson ikatson merged commit e1d4e16 into main Jul 4, 2025
5 checks passed
@ikatson ikatson mentioned this pull request Jul 4, 2025
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bind to specified or multiple network interfaces Request: Allow binding specific interface.

1 participant