Skip to content

Instantly share code, notes, and snippets.

View stumpylog's full-sized avatar

Trenton H stumpylog

  • Seattle
  • 23:07 (UTC -07:00)
View GitHub Profile

qBittorrent Forwarded Port Tool

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.

Configuration

  1. Update _TORRENT_HOST and _TORRENT_PORT to match the host and port of the qBittorrent web user interface

Keybase proof

I hereby claim:

  • I am stumpylog on github.
  • I am stumpylog (https://keybase.io/stumpylog) on keybase.
  • I have a public key ASCO7RWCZXlPo4ESYs0UudAdvUcmzh_bItRGODhCOjg-JAo

To claim this, I am signing this object: