Skip to content

Transmission

halomore edited this page Feb 25, 2020 · 1 revision

Table of Contents

  1. Intro
  2. Access Information
  3. Setup
  4. Miscellaneous
  5. Summary

1. Intro

This container contains OpenVPN and Transmission with a configuration where Transmission is running only when OpenVPN has an active tunnel. It bundles configuration files for many popular VPN providers to make the setup easier.

You need to specify your provider and credentials with environment variables, as well as mounting volumes where the data should be stored. An example run command to get you going is provided below.

It also bundles an installation of Tinyproxy to also be able to proxy web traffic over your VPN, as well as scripts for opening a port for Transmission if you are using PIA or Perfect Privacy providers.

2. Access Information

This container has 2 access points: the Transmission Web UI and the Web Proxy (tinyproxy). The Web Proxy can only be accessed via the port and is intended to be used internally so other containers can also utalize the OpenVPN connection.

2a. Transmission Web UI

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

2b. Web Proxy (Tinyproxy)

Protocol Address Notes
traefik** transmission:8888 Only for Internal App-to-App Communication
https N/A Traefik must be Deployed; Remote Servers
http domain.com:8888 Poor Security Practice - Stop with PTS Port Guard
http ipv4:8888 Ideal Only for Local Servers

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

3. Setup

There are 3 components associated with the Transmission deployment: VPN settings, Proxy settings and RSS settings. The VPN settings are required while the later 2 are optional.

3a. Transmission

After installing Transmission, VPN settings need to be configured. The container will not load without a valid openVPN config.

Using the Docker CLI or Portainer, set the following Environment variables:

Variable Value Example Notes
OPENVPN_PROVIDER List of providers availble here OPENVPN_PROVIDER=PIA Required
OPENVPN_CONFIG The VPN location to use (list) OPENVPN_CONFIG=DE Frankfurt default.opvn will be used if not set
OPENVPN_USERNAME Your VPN username OPENVPN_USERNAME=myname Required
OPENVPN_PASSWORD Your VPN password OPENVPN_PASSWORD=mypass Required
OPENVPN_OPTS Additional options to pass to the OpenVPN process OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 60 Optional - The default value added will stop the container if the VPN loses connectivity.

3b. Web proxy

This container also contains a web-proxy server to allow you to tunnel your web-browser traffic through the same OpenVPN tunnel. This is useful if you are using a private tracker that needs to see you login from the same IP address you are torrenting from. The default listening port is 8888.

Variable Function Example Notes
WEBPROXY_ENABLED Enables the web proxy WEBPROXY_ENABLED=true Default: True
WEBPROXY_PORT Sets the listening port WEBPROXY_PORT=8888 If changing the port, the exposed container port must also be updated.

3c. RSS

To utilize the RSS plugin, please run the following lines of code to add RSS function:

sudo docker run -d \

-e "RSS_URL=https://yourRSSLINKHERE” \

-e “TRANSMISSION_DOWNLOAD_DIR=/mnt/downloads/transmission” \

--link transmission:transmission \

--name "transmissionrss" \

haugene/transmission-rss

For configuration examples, see the plug-in page.

4. Miscellaneous

Other customizations to the container include:

  • IP Blocklist by John Tyree (blocks the "bad guys")
  • "Transmission Web Control" Web UI by ronggang Can be changed to combustion or utekka in environment variables
  • Creates a TUN device if not available on the host (controlled by CREATE_TUN_DEVICE=true)
  • Torrent watch folder set to opt/appdata/transmission/watch (Disabled by Default - Enabled in settings or TRANSMISSION_WATCH_DIR_ENABLED=false)

5. Summary

The PTS Apps-Community Transmission container provides VPN-secured torrent downloads with the added bonus of a proxy which other containers can utalize.

For more information, including additional configuration options, see the offical GitHub project pages.

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. Calibre
  6. cAdvisor
  7. Cloud Commander
  8. Deluge
  9. DelugeVPN
  10. Dozzle
  11. Duplicati
  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. 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