Deluge is a file sharing program.
When you run a torrent, its data will be made available to others by means of upload.
Any content you share is your sole responsibility.
Tested on RT-AC86U router, Deluge v1.3.15
1 - Install Entware from here
2 - Install Deluge
3 - Start Deluge
/opt/etc/init.d/S81deluge-web start
4 - Open Deluge webpage by accessing default router ip address and port 888, ex. www.asusrouter.com:888 (default password: deluge), press Login
5 - You are asked to change default password, press yes
6 - Click on Host "Online 127.0.0.1:58846..." and Connect
7 - Input desired password, press "Change" and "Apply"
8 - Under Categories tab click on Downloads, input path where to save files, in this case is /mnt/sda1/deluge and press "Ok"
9 - Now press on the "+ Add" sign on the upper left corner and add you desired .torrent files or magnet links (PLEASE DON'T DOWNLOAD ILLEGAL CONTENT)
10 - Create init-start script for some memory tweaks as suggested by ryzhov_al
nano /jffs/scripts/init-start
Copy - paste in terminal
#!/bin/sh
echo 524288 > /proc/sys/net/core/rmem_max
echo 524288 > /proc/sys/net/core/wmem_max
echo 8192 > /proc/sys/vm/min_free_kbytes
Save with CTRL-O, press ENTER and exit nano with CTRL-X
Make scripts executable
ACCESS FROM WAN
• If you want to access deluge from WAN like work, school, smartphone, tablet or some other device we need to open the port 888 but the firmware doesn't allow port forwarding to the router himself, for that we will use the scripts on /jffs partition:
Create firewall rules
Paste this lines in terminal
#!/bin/sh
iptables -I INPUT -p tcp --destination-port 888 -j ACCEPT
Make scripts executable and apply rules
sh /jffs/scripts/firewall-start
Go to YourWanIp:888 on preferred internet browser and download desired torrents
Here are screenshots of configurable options:
Network
Encryption
Bandwidth
Interface
Other
Daemon
Queue
Proxy
Proxy2
Cache
Plugins
TROUBLESHOOTING
If you have difficulties with installation process or deluge usage, copy paste from terminal the next commands and post here followed by issue details:
uname -a mount df free
Thanks @alllexx for this modern Optware port