title=

ℹ️ Video Tutorial has been updated

Install Aria2

First, signin to your Synology dashboard, select Package Center, search for Docker and click install.

Once installed, open Docker and select Registry, search for Aria2-Pro, double click to install or right-click and choose download this image, on the popup tag window, select the default one as latest.

Aria2-Pro is an optimized version of the original Aria2, here I will use this to demonstrate.

If you can't successfully download the image, make sure your network can access Docker Hub and relevant services.

Once downloaded, select the Image tab on the left and find the corresponding image. Double click to open the Create Container dialog, select Advanced Settings and Enable auto-restart

Then select Volume - Add Folder to create directory map. Here, the Mount path can not be changed, please input exactly as below. File/Folder can be changed to suit your own needs.

The /downloads correspond to the download directory;/config correspond to the Aria2 config directory

Then choose Port Settings, the Container Port can not be changed, please input exactly as below. The Local Port can be changed to suit our own needs. It's the port you will open on your local Nas network.

Then select Environment to change environment settings, click the plus sign and add the following:

  • LISTEN_PORT
  • RPC_PORT
  • RPC_SECRET
  • PGID
  • PUID

Note: the RPC_SECRET is the password you will use on the AriaNG frontend to connect to the Aria backend.

Once we fill in all the information needed, click Apply to start the docker.

Below is the example startup setting given by the Aria2-Pro publisher. You can use is as a reference:

docker run -d \
  --name aria2-pro \
  --restart unless-stopped \
  --log-opt max-size=1m \
  -e PUID=$UID \
  -e PGID=$GID \
  -e RPC_SECRET=<TOKEN> \
  -e RPC_PORT=6800 \
  -p 6800:6800 \
  -e LISTEN_PORT=6888 \
  -p 6888:6888 \
  -p 6888:6888/udp \
  -v ~/aria2-config:/config \
  -v ~/downloads:/downloads \
  p3terx/aria2-pro

Install AriaNG

Open Docker and choose Registry, search for p3terx ariang and double-click to download.

Once finished, select the Image tab on the left, double click to open the Create Container dialog, select Advanced Settings and Enable auto-restart

Then we choose Port Settings, the Container Port can not be changed, please input exactly as below. The Local Port can be changed to suit our own needs. It's the port you will open on your local Nas network.

Once we fill in all the information needed, click Apply to start the docker.

Then open your browser and enter your Synology IP:6880 to access your AriaNG front page. If you change the port setting, please use the port you set up during configuration.

Below is the example startup setting given by the AriaNG publisher. You can use is as a reference:

docker run -d \
  --name ariang \
  --log-opt max-size=1m \
  --restart unless-stopped \
  -p 6880:6880 \
  p3terx/ariang

Config AriaNG

When we enter the AriaNG front page, click the AriaNG Setting on the left, find the Language setting, Here you can change the default display language.

Then we click RPC setting above, input the RPC_PORT and RPC_SECRET we specified when we config the Aria2-Pro image. Click Reload AriaNG once finished.

Wait for the reload to finish, and click the Aria2 Status tab to check if it's shown as connected.

if it's still showing as disconnected, please check:
  1. The Aria2 backend was start up correctly
  2. The RPC listen port was set correctly and can be accessed
  3. The RPC secret was input correctly

Video Tutorial

Youtube

Bilibili

Last modification:November 2, 2020
If you like my post, you can donate to buy me a cup of coffee.