Deluge Download Manager through Optware-NG

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.

1 - Install New Generation Optware from here
2a - Install Deluge

ipkg install deluge

2b - Or, if you want a more recent version but not necessary stable and bugs free, install Deluge Develop

ipkg install deluge-develop

3 - Start Deluge

/opt/etc/init.d/S80deluged start
/opt/etc/init.d/S80deluge-web start

4 - Open Deluge webpage by accessing default router ip address and port 888, ex. (default password: deluge), press Login


5 - You are asked to change default password, press yes


6 - Click on Host "Online" 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

ipkg install nano
nano /jffs/scripts/init-start

Copy - paste in terminal

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

chmod a+rx /jffs/scripts/*

• 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

nano /jffs/scripts/firewall-start

Paste this lines in terminal


iptables -I INPUT -p tcp --destination-port 888 -j ACCEPT

 Save with CTRL-O / Enter / and exit with CTRL-X

Make scripts executable and apply rules

chmod a+rx /jffs/scripts/*
sh /jffs/scripts/firewall-start

Go to YourWanIp:888 on preferred internet browser and download desired torrents


Here are screenshots of configurable options:


























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


Thanks @alllexx for this modern Optware port

  • Gabriel 1onita ♍

    Happy New Year! Please, it woks on entware too?

    • Deluge is available on entware too, the steps should be almost the same, just replace ipkg commands with opkg.

  • Mantis

    Thanks for this amazing tutorial. I have stuck at step 6. Status is offline.

    what should i do for fix this issue.

    I am n66u owner btw.

  • David Taylor

    I installed both Transmission and Deluge on my Asus 87U; wanting to check out the remote client, server daemon setup. Transmission was a lot easier to setup this way. Deluge requires more configuration:

  • David Taylor

    After installing on 87U, I end up with the server and web interface working, but every torrent I add, results in an error after a few minutes of successful transfer. Suggestions?

    • What error?
      I think you didn't set the right download path, on your configuration should be /mnt/USBDISK/deluge

      • David Taylor

        You are probably correct; I labeled the disk. I also had initially run the Optware-NG setup as mipsel; then again correctly - but didn't clear the nvram first. I'm flushing it all and starting over, and and will skip the label this time, since it doesn't appear to be necessary.

      • David Taylor

        Yep; works fine when not confused by labeled parts.

  • allexx88

    Nice article :-) BTW, there's also development deluge version package in the repos: 'deluge-develop'. It has more features that were added recently, like 'initial seed' mode. It may have some bugs too, though

    • I didn't forget, just very busy...

      • I installed deluge-develop and it works with some issues
        After adding a torrent I have to click manually on Filters / States to see progress bar
        After rebooting router, there is no torrent in queue

  • aka

    Please explain, how to make changes in the settings so they survive reboot. If the solution is to stop the applucation, then no wegui is functioning either. tx

    • Settings are saved when pressing Apply or OK, if not, try to edit manually /opt/etc/deluge/core.conf
      Which router and firmware?

      • aka

        tx a lot, workin now. And, yet another quetion, can i put both, transmission and deluge? deluge seems eating all memory and I do not know how to uninstall it.

        Thank you for such a nice website!

        • Yes, you can run both in the same time but do some tests before uninstalling deluge, see which one is eating more cpu
          uninstall deluge with:
          Services stop
          ipkg remove deluge

          • aka

            Thank you! Much appreciated

            BTW, your website menus are not expanding on android (chrome browser), they expand for a milisecond and close, not easy to reach submenus. Otherwise your website is perfect for me. Thanks for your input.

          • Works fine here

          • Joe

            I saw deluge package in entware ng

          • Joe

            Installed successful in entware Ng

          • TeHashX

            Which router and firmware?

          • Joe

            RT-AC56U FW AsusWRT 380.59 HGG, everything work perfect except extractor plugin never work.
            I have try a few days didn't like it, going back to rutorrent faster and consume less resources. The only thing I can't get it work was GeoIP don't know how to install PHP extension. :(


To be notified by email when a new tutorial is posted :)

Thanks for Subscribing! I'll keeping you up-to-date with latest tutorials!

Something went wrong, try again...