Skip to content
PhysK edited this page Jan 22, 2020 · 2 revisions

Table of Contents

  1. Intro
  2. Summary
  3. Access Information
  4. Configuration

1. Intro

qBittorrent is a bittorrent client programmed in C++ / Qt that uses libtorrent (sometimes called libtorrent-rasterbar) by Arvid Norberg. It aims to be a good alternative to all other bittorrent clients out there. qBittorrent is fast, stable and provides unicode support as well as many features. This Docker image is using the headless configuration with the web frontend enabled, as well as OpenVPN to ensure a secure and private connection to the Internet, including use of iptables to prevent IP leakage when the tunnel is down. Privoxy is also included to allow unfiltered access to index sites, to use Privoxy please point your application at qbittorrent:8118. (credit: binhex)

For the non-vpn version of this app, just leave "VPN enabled" set to "NO". If you do use the VPN Option, please add the following IP when connecting Sonarr/Radarr "172.18.0.55". If you do NOT use the VPN Option, use the hostname "qbittorrentvpn" to connect Sonarr/Radarr.

2. Summary

qBittorrent will run in a default configuration with OpenVPN and Privoxy disabled. Some settings are already configured for you, plus a P2P Blocklist (credit: John Tyree).

See section 4 for more advanced configurations including how to configure your VPN.

3. Access Information

Protocol Address Notes
traefik** qbittorrent:8098 Only for Internal App-to-App Communication
https qbittorrent.domain.com Traefik must be Deployed; Remote Servers
http domain.com:8098 Poor Security Practice - Stop with PTS Port Guard
http ipv4:8098 Ideal Only for Local Servers
privoxy† qbittorrent:8118 Only for Internal App-to-App Communication

** Ideal for Apps to communicate between with one another. Click Here for more info!

† Privoxy allows your other Apps to use the qBittorrent's internet connection including its VPN configuration.

4. Configuration

Some essential settings are auto-configured by default when the app is deployed.

Login

The Default login is configured as follows:

Username Password
admin adminadmin

OpenVPN Configuration

The VPN is not enabled by default. To use it, the following must be performed:

  1. Place your .ovpn file in /opt/appdata/qbittorrent/openvpn
  2. Populate the VPN_USER variable with your VPN username.
  3. Populate the VPN_PASS variable with your VPN password.
  4. Set VPN_ENABLED to yes
  5. (Optional) Configure additional OpenVPN settings with VPN_OPTIONS

If you cannot connect to your container after enabling VPN, check your logs. If you do not see [info] qBittorrent process listening on port 8098 then there may be a problem with your VPN configuration.

Jackett Plugin

qBittorrent can use Jackett as a search provider. See the instructions and download the search provider.

RSS

qBittorrent uses a feeds.json file located under opt/appdata/qbittorrent/qBittorrent/config/rss

The contents should be similar to the following example:

{
  "feeds": [
    {
      "name": "The New Books",
      "url": "http://rss.domain.example/author/some-guy.rss",
      "savepath": "/mnt/hd/books/Some Guy",
      "category": "Books",
      "filters": [
        {
          "field": "title",
          "regex": ".*epub.*"
         }
      ]
    },
    { ... }
  ]
}

Environmental Variables

Variable Value Notes
PUID 1000
PTSID 1000
UMASK 000
VPN_ENABLED no yes/no
VPN_USER username VPN username
VPN_PASS password VPN password
VPN_PROV custom custom, pia or airvpn
VPN_OPTIONS Additional OpenVPN configuration
STRICT_PORT_FORWARD no yes/no
ENABLE_PRIVOXY no yes/no
LAN_NETWORK 172.18.0.0/16
NAME_SERVERS 1.1.1.1,84.200.69.80,37.235.1.174,185.121.177.177 Cloudflare, DNS.Watch, OpenDNS, OpenNIC
DEBUG false true/false
WEBUI_PORT 8098 Must match Internal port

Default Paths (configured automatically)

In case you are upgrading to PTS or change the paths and it's causing problems, here are the default paths to assist you! Categories do not need to specify a path, by default it uses downloadPath/categoryName when not set!

Path Info
Temporary Download Folder /mnt/incomplete/qbittorrent
Completed Download Folder /mnt/downloads/qbittorrent
Saved Torrents Folder /mnt/torrent
Torrent Watch Folder /mnt/torrent/watch

Useful Starter Links

  1. Introduction
  2. G-Suite Signup
  3. Recommended NewsHosts
  4. Change Log

Prior Planning 101

  1. Recommended Pre-Reading
  2. Server - Storage Planning
  3. Usenet or BitTorrent
  4. PTS Editions
  5. PTS Folder Structure
  6. PTS-Repos
  7. Common Issues

Deploy & Config

PTS-Team
  1. SSH Server Access
  2. Install PTS
  3. WatchTower
  4. Remote Path Mappings

Data Transport
  1. PTS Clone
    1. Google OAuth Keys
    2. PTS Move
    3. PTS Blitz
    4. 2nd HD Option

Key Components

  1. Traefik
  2. Port Guard
  3. PTS Shield
  4. PTS Press
  5. Google Cloud - GCE
    1. Automated setup
  6. Hetzner Cloud
  7. PTS Fork
  8. Extra PTS Commands

Blitz App Info

  1. Accessing PTS Apps
  2. App Port Scheme

Tools & Services

Core Apps [Expand]
  1. Emby
  2. Jackett
  3. Jellyfin
  4. LazyLibrarian
  5. Lidarr
  6. Netdata
  7. NZBGet
  8. Ombi
  9. Plex
  10. Portainer
  11. qBittorrent
  12. Radarr
  13. Radarr4k
  14. RadarrHDR
  15. RuTorrent
  16. SABnzbd
  17. Sonarr
  18. Sonarr4k
  19. SonarrHDR
  20. Tautulli
  21. JDownloader2
Community Apps [Expand]
  1. AirSonic
  2. Bazarr
  3. Bitwarden
  4. BookSonic
  5. cAdvisor
  6. Cloud Commander
  7. Deluge
  8. DelugeVPN
  9. Dozzle
  10. Duplicati
  11. Filebrowser
  12. FlexGet
  13. Gazee
  14. Headphones
  15. Heimdall
  16. HomeAssistant
  17. jd2-openvpn
  18. Kitana
  19. Logarr
  20. MakeMKV
  21. MariaDB
  22. McMyadmin
  23. MEDUSA
  24. Mellow
  25. Miniflux
  26. Monitorr
  27. Muximux
  28. Mylar
  29. NextCloud
  30. NowShowing
  31. NZBHydra2
  32. Organizr
  33. plpp
  34. pyLoad
  35. qBittorrent
  36. QBittorrent VPN
  37. radarrsyncarr
  38. Resilio
  39. rflood-openvpn
  40. rutorrent-openvpn
  41. Shoko Anime Server
  42. SpeedTest
  43. SyncLounge
  44. Teamspeak3
  45. The Lounge
  46. Transmission
  47. Trakt.or
  48. Ubooquity
  49. Varken
  50. vnc-xfce
  51. vnstat
  52. ZeroTier

Misc Info & Articles

  1. Change Server Time
  2. Fail2Ban
  3. Custom Containers
  4. Deploying Varken, Influx, Telegraf, Grafana
  5. cloneclean commands
  6. Understanding htop
Scripts
  1. Scripting Area
    1. Auto Upload for Sonarr and Lidarr
    2. Auto Delete Log
    3. Plex Plugin DB Backup
    4. Plex fast BACKUP
    5. Delete All Unmonitored from Radarr
Clone this wiki locally