

A few things. The python is looking good. Nice work.
Did you know about soxfor/qbittorrent-natmap? This is a tool that automates this for you.
Lastly, I’ve been using this for a while, but just now found neither you nor I may need it any more. It looks like gluetun may now handle this on its own. Check out Custom port forwarding up/down command.
So we should be able to use VPN_PORT_FORWARDING_UP_COMMAND=/bin/sh -c 'wget -O- --retry-connrefused --post-data "json={\"listen_port\":{{PORTS}}}" http://127.0.0.1:8080/api/v2/app/setPreferences 2>&1' or something close to that.










Awesome. Very cool shot. Thanks for clarifying.