This script is used to update the qBittorrent listening port based on the current forwarded port pulled from the VPN container.
It has been tested with https://github.com/linuxserver/docker-qbittorrent and https://github.com/qdm12/gluetun. If your VPN container
provides a different API for accessing the forwarded port, the class VpnControlServerApi would need to be updated to handle that
API instead.
- Update
_TORRENT_HOSTand_TORRENT_PORTto match the host and port of the qBittorrent web user interface