In response to this post (re binhex ending support for qbittorrentvpn and other vpn containers), I commented that I had no issue migrating to hotio qb using PIA. I received some messages asking what I did. Steps I followed are below in case it helps anyone.
This should keep all your binhex qBittorrent settings, torrents, categories and RSS auto-download rules.
Before you start
1. Write down your current binhex settings: the /data path, WebUI port, and your PIA username/password.
2. Stop binhex-qbittorrentvpn and turn off autostart. Leave the container itself in place as a fallback.
Install and configure hotio
3. Install hotio's qbittorrent from Community Apps. When asked for a branch, pick release.
4. Point /config at a new, empty folder (e.g., /mnt/user/appdata/qbittorrent). Don't reuse the binhex folder.
5. Map /data to exactly the same data path binhex used. Your save paths and RSS download folders are stored as container paths, so this must match. Keep the WebUI port the same too.
6. Set the following variables (click "Show more settings"):
VPN_ENABLED = trueVPN_CONF = wg0VPN_PROVIDER = piaVPN_PIA_USER / VPN_PIA_PASS = your PIA loginVPN_LAN_NETWORK = your LAN subnet (e.g., 192.168.1.0/24)VPN_AUTO_PORT_FORWARD = true
7. Add the WireGuard sysctls (toggle Advanced View on top right → Extra Parameters). Keep what's there and add the following to the end:
--sysctl="net.ipv4.conf.all.src_valid_mark=1" --sysctl="net.ipv6.conf.all.disable_ipv6=1"
(The first setting lets WireGuard's routing work inside the qb container. The second turns off IPv6 so no traffic can slip around the IPv4-only PIA tunnel.)
The Extra Parameters field should look like this:
--hostname=qbittorrent.internal --cap-add=NET_ADMIN --sysctl="net.ipv4.conf.all.src_valid_mark=1" --sysctl="net.ipv6.conf.all.disable_ipv6=1"
First run and region
8. Start the hotio qb container once with the empty config. In the log, confirm Interface [wg0] is online and Forwarded port is [xxxxx]. Then stop the container.
9. Pick a region that supports port forwarding. The log saves PIA's region list to .../appdata/qbittorrent/wireguard/pia-regions.txt. Review that file, select a region marked true, click on hotio qb docker container, select Edit, then put the ID for the region you selected in VPN_PIA_PREFERRED_REGION. de-frankfurt worked for me. Without this setting, it picks a random region worldwide.
(If the WebUI won't load and the log repeats Forwarded port request failed, it likely means PIA's port forwarding is down for that region. I had this problem using ca_toronto. Fix is to change VPN_PIA_PREFERRED_REGION to another region and restart.)
Copy your binhex qb settings over
10. Copy binhex's config and data folders (adjust paths to yours):
cp -a /mnt/user/appdata/binhex-qbittorrentvpn/qBittorrent/config/. /mnt/user/appdata/qbittorrent/config/
cp -a /mnt/user/appdata/binhex-qbittorrentvpn/qBittorrent/data/. /mnt/user/appdata/qbittorrent/data/
chown -R 99:100 /mnt/user/appdata/qbittorrent
11. Start the hotio container and log in with your old binhex WebUI password. Check that torrents show as seeding (not missing files) and RSS feeds and rules are there.
Fix after the move
12. LAN services called from qBittorrent (e.g., ntfy notifications when torrents are added/finished, set in Settings → Downloads → Run external program): hotio's kill switch blocks the container from starting connections to your LAN. In binhex, I was using my server's LAN IP to call ntfy; for hotio, you need to replace it with 172.17.0.1:<ntfy_port> (the Unraid host on Docker's bridge).
Verify there are no leaks
13. Compare IPs. docker exec qbittorrent curl -s ipinfo.io should show a PIA IP, not your home IP.
14. Test torrent traffic. Go to ipleak.net and click "Activate" under "Torrent Address detection" (bottom of page). It will give you a magnet link; add it to qBittorrent. ipleak.net should show only the PIA IP.
15. Test the kill switch. Run docker exec qbittorrent ip link set wg0 down, then run docker exec qbittorrent curl -s ipinfo.io again. It should fail / provide no output, not show your home IP (and if you add a torrent, it should fail to connect). Restart the container afterward to reestablish the PIA connection.
EDIT:
Majestic-Respect-356 noted below a better way of swapping a very large number of torrents from binhex to hotio (I did not have a large number of torrents to transfer so didn't have to worry about this):
Might wana make an edit to the post above btw, if you use qui you can take a backup of all your torrents from one instance and then load that backup to your new one, so no need for any torrent file handling at all. Its how i swapped my 18k torrents from binhex to hotio