For a while I’ve used a docker image that read a file that gluetun updates with the current open port and then updates qbittorrent to use that port.
It seems that utility is no longer maintained.
Does anybody know of a solid replacement?
For a while I’ve used a docker image that read a file that gluetun updates with the current open port and then updates qbittorrent to use that port.
It seems that utility is no longer maintained.
Does anybody know of a solid replacement?
I have the qbittorrent web UI running in a separate container that’s attached to my gluetun container. I use the
VPN_PORT_FORWARDING_UP_COMMANDoption in my gluetun container:environment: - VPN_PORT_FORWARDING_UP_COMMAND=/bin/sh -c 'wget -O- --retry-connrefused --post-data "json={\"listen_port\":{{PORTS}}}" http://127.0.0.1:8072/api/v2/app/setPreferences 2>&1'You may have to adjust the http://127.0.0.1:8072/ part based on your setup.
The gluetun wiki’s command didn’t work for me, so I used yours and it worked flawlessly. Thank you.
The wiki uses {{PORT}} and it seems {{PORTS}} is the correct variable.