diff --git a/qbittorrent/CHANGELOG.md b/qbittorrent/CHANGELOG.md index 84281854e..efdc34519 100644 --- a/qbittorrent/CHANGELOG.md +++ b/qbittorrent/CHANGELOG.md @@ -1,3 +1,6 @@ +## 5.1.4-16 (16-02-2026) +- Fix interface binding when VPN is disabled, so qBittorrent can use all available interfaces instead of staying on a previous VPN interface + ## 5.1.4-15 (08-02-2026) - Support preshared keys (airvpn for example) - Support multiple address fields diff --git a/qbittorrent/config.yaml b/qbittorrent/config.yaml index 9ba03dd9a..644af19ad 100644 --- a/qbittorrent/config.yaml +++ b/qbittorrent/config.yaml @@ -142,4 +142,4 @@ schema: slug: qbittorrent udev: true url: https://github.com/alexbelgium/hassio-addons -version: "5.1.4-15" +version: "5.1.4-16" diff --git a/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh b/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh index 55320c385..e455a43c5 100755 --- a/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh @@ -89,6 +89,15 @@ sed -i -e "/CSRFProtection/d" \ # sed -i "$LINE i\Connection\\\PortRangeMin=6881" qBittorrent.conf sed -i "s|6881|59595|g" qBittorrent.conf # Correction if required +######################### +# Interface binding mode # +######################### + +if ! bashio::config.true 'openvpn_enabled' && ! bashio::config.true 'wireguard_enabled'; then + sed -i '/Interface/d' qBittorrent.conf + bashio::log.info "No VPN selected: qBittorrent interface binding removed (all interfaces allowed)" +fi + ################ # SSL CONFIG # ################