rTorrent is a quick and efficient BitTorrent client that uses, and is in development alongside, the libTorrent (not to be confused with libtorrent-rasterbar) library. It is written in C++ and uses the ncurses programming library, which means it uses a text user interface. When combined with a terminal multiplexer (e.g. GNU Screen or Tmux) and Secure Shell, it becomes a convenient remote BitTorrent client. This Docker image includes the popular ruTorrent web frontend to rTorrent for ease of use, 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 http://<hostip>:8118.
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 http://<hostip>:8118.
**Build notes**
Latest stable rTorrent release from Arch Linux.
Latest stable ruTorrent release from Arch Linux AUR.
Latest GitHub commit to master branch for Flood.
Latest Github Release of qBittorrent.
Latest stable OpenVPN release from Arch Linux repo.
Latest stable Privoxy release from Arch Linux repo.
@ -23,10 +18,8 @@ Latest stable Privoxy release from Arch Linux repo.
```
docker run -d \
--cap-add=NET_ADMIN \
-p 9080:9080 \
-p 9443:9443 \
-p 8080:8080 \
-p 8118:8118 \
-p 3000:3000 \
--name=<containername> \
-v <pathfordatafiles>:/data \
-v <pathforconfigfiles>:/config \
@ -38,8 +31,6 @@ docker run -d \
-e VPN_OPTIONS=<additionalopenvpnclioptions> \
-e STRICT_PORT_FORWARD=<yes|no> \
-e ENABLE_PRIVOXY=<yes|no> \
-e ENABLE_FLOOD=<yes|no|both> \
-e ENABLE_AUTODL_IRSSI=<yes|no> \
-e LAN_NETWORK=<lanipv4network>/<cidrnotation> \
-e NAME_SERVERS=<nameserverip(s)> \
-e DEBUG=<true|false> \
@ -47,27 +38,17 @@ docker run -d \
-e UMASK=<umaskforcreatedfiles> \
-e PUID=<uidforuser> \
-e PGID=<gidforuser> \
binhex/arch-rtorrentvpn
binhex/arch-qbittorrentvpn
```
Please replace all user variables in the above command defined by <> with the correct values.
**Access ruTorrent (web ui)**
**Access qBittorrent (web ui)**
`http://<host ip>:9080/`
or
`https://<host ip>:9443/`
`http://<host ip>:8080/`
Username:- admin
Password:- rutorrent
**Access Flood (web ui)**
`http://<host ip>:3000/`
Note:- Requires user to enable Flood via container env var (ENABLE_FLOOD).
Password:- adminadmin
**Access Privoxy**
@ -77,11 +58,9 @@ Note:- Requires user to enable Flood via container env var (ENABLE_FLOOD).
@ -109,14 +86,14 @@ AirVPN users will need to generate a unique OpenVPN configuration file by using
1. Please select Linux and then choose the country you want to connect to
2. Save the ovpn file to somewhere safe
3. Start the rtorrentvpn docker to create the folder structure
4. Stop rtorrentvpn docker and copy the saved ovpn file to the /config/openvpn/ folder on the host
5. Start rtorrentvpn docker
3. Start the qbittorrentvpn docker to create the folder structure
4. Stop qbittorrentvpn docker and copy the saved ovpn file to the /config/openvpn/ folder on the host
5. Start qbittorrentvpn docker
6. Check supervisor.log to make sure you are connected to the tunnel
AirVPN users will also need to create a port forward by using the following link https://airvpn.org/ports/ and clicking Add. This port will need to be specified in the rTorrent configuration file located at /config/rtorrent/config/rtorrent.rc with the option `port_range = <start incoming port>-<end incoming port>` and `port_random = no`.
AirVPN users will also need to create a port forward by using the following link https://airvpn.org/ports/ and clicking Add. This port will need to be specified in the qBittorrent configuration file located at /config/qbittorrent/config/qbittorrent.conf.
@ -164,16 +137,6 @@ If there are multiple ovpn files then please delete the ones you don't want to u
User ID (PUID) and Group ID (PGID) can be found by issuing the following command for the user you want to run the container as:-
`id <username>`
If you want to create an additional user account for ruTorrent webui then please execute the following on the host:-
`docker exec -it <container name> /home/nobody/createuser.sh <username to create>`
If you want to delete a user account (or change the password for an account) then please execute the following on the host:-
`docker exec -it <container name> /home/nobody/deluser.sh <username to delete>`
If you do not define the PHP timezone you may see issues with the ruTorrent Scheduler plugin, please make sure you set the PHP timezone by specifying this using the environment variable PHP_TZ. Valid timezone values can be found here, http://php.net/manual/en/timezones.php
___
If you appreciate my work, then please consider buying me a beer :D