How to Install ruTorrent on Your Synology NAS

How to Install ruTorrent on Your Synology NAS

ruTorrent is a PHP frontend/web interface to rTorrent (a console based BitTorrent client). It uses rTorrent’s built-in XML-RPC server to communicate with it. It is lightweight, highly extensible, and is designed to look similar to uTorrent. Everything you do using ruTorrent is communicated to and from rTorrent. In this step by step guide I will show you how to install ruTorrent on your Synology NAS using Docker.

Note: This guide works perfectly with the latest ruTorrent r20 release.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

Install Docker via Synology “Package Center”.

Install Docker Synology DSM 7

  • STEP 3

Go to File Station and open the docker folder. Inside the docker folder, create one new folder and name it rutorrent. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

1 ruTorrent Synology NAS Set up

  • STEP 4

Now create three new folders inside the rutorrent folder that you created at STEP 3 and name them data, downloads, password. Follow the instructions in the image below.
Note: Be careful enter only lowercase, not uppercase letters.

2 ruTorrent Synology NAS Set up

  • STEP 5

Go to Control Panel / Task Scheduler / Create / Scheduled Task / User-defined script. Follow the instructions in the images below.

ruTorrent Synology NAS Set up 2

  • STEP 6

Once you click on User-defined script a new window will open. Follow the instructions below:

  1. General: In the Task field type in Install ruTorrent. Uncheck “Enabled” option. Select root User.
  2. Schedule: Select Run on the following date then select “Do not repeat“.
  3. Task Settings: Check “Send run details by email“, add your email then copy paste the code below in the Run command area. After that click OK.
docker run -d --name=rutorrent \
-p 6881:6881/udp \
-p 8011:8000 \
-p 8144:8080 \
-p 9009:9000 \
-p 50000:50000 \
-e PUID=1026 \
-e PGID=100 \
-v /volume1/docker/rutorrent/data:/data \
-v /volume1/docker/rutorrent/downloads:/downloads \
-v /volume1/docker/rutorrent/password:/passwd \
--ulimit nproc=65535 \
--ulimit nofile=32000:40000 \
--restart always \
crazymax/rtorrent-rutorrent

Note: Before you paste the code above in the Run command area below, change the value numbers for PUID and PGID with your own values. (Follow my step by step guide on how to do this.)

4 ruTorrent Synology NAS Set up

  • STEP 7

After you click OK on STEP 6 a new warning pop up window will open. Click OK.

5 ruTorrent Synology NAS Set up

  • STEP 7

After you click OK on STEP 6, select your “Install ruTorrent” Task then click the “Run” tab. You will be asked to run Install ruTorrent – click Yes. Follow the instructions in the image below.

6 ruTorrent Synology NAS Set up

  • STEP 8

Go back to STEP 1 or you will deal with karma 🙂

  • STEP 9

The installation process can take up to a few seconds/minutes. It will depend on your Internet speed connection. Now open your browser and type in http://Synology-ip-address:8144

7 ruTorrent Synology NAS Set up

Note: If you want to run ruTorrent container over an HTTPS check How to Run Docker Containers Over HTTPS.

Fix: Make sure you have correctly port forwarded port 6881 UDP on your router pointing to your NAS.

Note: Can I run Docker on my Synology NAS? See the supported models.
Note: Your ruTorrent container run in bridge network mode. If you experience connections problems remember to set your Synology Firewall in Control Panel / Security / Firewall / Edit Rules and allow IP-Ranges 172.17.0.0/16
Note: Find out how to update ruTorrent container with the latest image.
Note: How to Free Disk Space on Your NAS if You Run Docker.
Note: How to Schedule Start & Stop For Docker Containers.
Note: How to Activate Email Notifications.
Note: How to Add Access Control Profile on Your NAS.
Note: How to Change Docker Containers Restart Policy.
Note: How to Use Docker Containers With VPN.
Note: Convert Docker Run Into Docker Compose.
Note: How to Clean Docker.
Note: How to Clean Docker Automatically.
Note: Best Practices When Using Docker and DDNS.
Note: Some Docker Containers Need WebSocket.

This post was updated on Monday / December 5th, 2022 at 8:25 AM