Skip to content

Automatically updates the listening port for qbittorrent to the port forwarded by gluetun.

License

Notifications You must be signed in to change notification settings

patrickaclark/gluetun-qbittorrent-port-manager

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gluetun-qbittorrent Port Manager

Automatically updates the listening port for qbittorrent to the port forwarded by Gluetun.

Description

This is my fork of snoringdragon's gluetun qbittorrent port forward update tool.

Gluetun has the ability to forward ports for supported VPN providers, but qbittorrent does not have the ability to update its listening port dynamically.

I modified the script by snoringdragon to reach out to the Gluetun control server API and updates the qbittorrent's listening port based on the response.

Setup

First, ensure you are able to successfully connect qbittorrent to the forwarded port manually (can be seen by a green globe at the bottom of the WebUI).

Second, ensure the Gluetun control server port (default 8000) is exposed in your compose file.

Finally, insert the template in docker-compose.yml into your docker-compose containing gluetun, substituting the default values for your own.

NOTE

This has been a relatively personal project for my stack after seeing a number of people talk about running bash scripts on their Docker host to keep the dreaded firewall warning away. I found snoringdragon's repo and decided it would be a fun way to learn to build and push a real Docker image, and also learn some basics in GitHub along the way.

About

Automatically updates the listening port for qbittorrent to the port forwarded by gluetun.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 83.4%
  • Dockerfile 16.6%