TOP  

The Unofficial Guide to Master Deluge (2022 Update)

The Deluge BitTorrent client may seem like an old VW Beetle from the outside, but once you open the hood… it is like looking at a Ferrari engine. 

Although Deluge is often overlooked, in reality, this Bittorrent client is one of the most robust and flexible. In fact, it is known as the king of customization. And once you try it, you might never go back, and there are many reasons why.

If you learn how to optimize Deluge like a pro, it could be easily turned from a simple and light BitTorrent client into the most potent torrenting tool. Many of our Seedbox clients choose Deluge as their favorite client since it’s reliable, convenient, and easy to use.

Deluge 2022 guide

The following ultimate unofficial guide to mastering Deluge will teach you how to optimize Deluge like a pro. How Deluge setup works, how to use it for speed and anonymity, and how to troubleshoot it.

Table of contents

  1. What is Deluge?
  2. Where to Download Deluge?
  3. Deluge: Pros and the Cons.
  4. How to install Deluge?
  5. Managing Deluge
  6. Optimizing User Experience.
  7. How to install a Deluge Plugin.
  8. Improve Deluge speed and anonymity.
  9. Troubleshooting.

What is Deluge?

Deluge is a fully-featured cross-platform BitTorrent client. It is supported by Linux, Windows, macOS, BSD Unix, and more. Deluge is open-source, free, and comes without annoying ads. 

Deluge is one of the top clients among serious torrent users because it is lightweight, simple, and fast. But despite its simplicity, it can be highly customized to fulfill the demands of even the most hard-to-please torrent users. Deluge is the king of customizable torrenting clients. Thanks to programmable modules (or plugins), you can implement different software complements and take Deluge’s functionality to a whole new level.

Deluge does not come with unnecessary extensions and advertisements. And so, it consumes low resources and is fast. The Deluge BitTorrent platform has been designed to run as a normal standalone desktop and a client-server application. In Thin-client mode, a daemon handles all the BitTorrent activity and is able to run in the background on your machine while you connect to the user interface (WebUI) remotely from any other platform.

Deluge 2.0.5 - Linux
The Deluge 2.0.5 Linux User Interface. Source:[Lignux.com]

The Latest Deluge Release:

The latest Deluge release is 2.0.5. Available on Linux, but not on Windows and macOS. Below is a brief description of some of the latest releases.

  • The 2.0.5 release: Includes bug fixes related to the WebUI.
  • The 2.0.4 release: Includes major fixes on the packaging, Gtk UI, WebUI, console, core, plugins, notifications. In this version, Deluge created how-to guides about services.
  • The 2.0.0 release: Includes support to Python 3, includes a Blocklist plugin, and major updates on the UI and console.

Deluge 1.3 vs 2.0 

Update to Deluge 2.0? Is it worth it? What are the differences between Deluge 1.3 vs Deluge 2.0?

Deluge 2.0 is superior to Deluge 1.3 in terms of functionalities, features, and performance. Deluge 2.0 comes with performance updates that ensure the client can manage more torrents and with faster response times. Deluge v2.0 also includes new features such as multi-user support, automatic re-checks, new console UI, migration to GTK3, magnet pre-fetching, support to libtorrent 1.2, and more. 

Unfortunately, as of Feb 2022, Deluge 2.0 is not supported by Windows and macOS. And there is no news of any release date for such platforms. 

Although there is an unofficial Deluge 2.x installer for Windows, known to be relatively stable, it is always recommended to stick to officially released clients.

For more information on Deluge versions, check the release notes.

Where to Download Deluge?

There is no better place to download a copy of the Deluge client than from the Official Deluge website. Download Deluge the latest version (2.0.5) here:

Deluge Download

Where to download Deluge’s source code? If you can read the code, you will know right away that the code is secured, protects the privacy of its users, and does not contain any malicious code. You may want to install Deluge from the source, use any of the following third-party Deluge download links: Release tarballs or Git repository.

Deluge: The Pros and Cons.

The Deluge bit torrent client comes with all the foundational features of a typical torrent client. As you will notice, when Deluge is missing something, a feature, a fix, etc., it will be only a matter of time before someone builds a plug-in or fixes the bug. 

The Pros.

  1. Deluge is open source and free.
  2. It is free from advertisements.
  3. Its functionality can be improved with the help of plug-ins.
  4. Deluge is super light (always under 15MB).
  5. It can encrypt BitTorrent traffic through the use of MSE/PE or Message Stream. 
  6. It is highly portable, and can be installed on a USB and run directly from it.
  7. Deluge comes with all the basic torrent features, such as DHT, PEX, prioritization, Magnet-Links, etc.
  8. It has a graphical web and command-line interface (with daemon).
  9. It allows automatic port mapping with UPnP, NAT-PMP, NAT for automatic router configuration.

The Cons.

  1. Not able to override queuing settings or “Force start” downloads.
  2. There is no built-in search engine.
  3. It is unable, by default, to stream media files while a download is in progress. But there is a workaround that will enable you to stream videos. Use a plug-in called Deluge Streaming.
  4. There is limited magnet URL functionality. There is no way to get information about torrent content in a magnet link until the download has started.
  5. No super-seeding setting is enabled by default. But you can apply this plug-in to get around this issue.
  6. It does not allow tracker exchange functionality.
  7. Lack of web-seeding support
  8. Not able to share files with an embedded tracker.
  9. The demon consumes large CPU resources as compared with other clients.

How to install Deluge?

When you download Deluge, you will find a wide availability of different platforms to choose from.

Deluge 2.0.5 is currently available for Linux (Ubuntu, Debian, Fedora, OpenSUSE, Arch, Gentoo, and Flatpak), BSD Unix, or Docker. As of February 2022, Deluge 2.0 packages are not yet available for Windows (XP, Vista, and 7-10) and for Apple macOS.

Deluge Windows: The latest Windows-supported release is Deluge 1.3.15.

Deluge macOS: The latest macOS-supported release is Deluge 1.3.15.

Deluge 2.0.5

Download the correct version and follow the next instructions to setup Deluge.

How to install Deluge client on Ubuntu?

The official Ubuntu repositories include Deluge, so you might get away with using the Ubuntu install from terminal “sudo apt-get install deluge.” However, bear in mind that those repositories might be outdated, so you might need to use the PPA repository instead. 

  • Copy/Paste the following lines in the terminal:

How to setup Deluge on Debian Jessie?

To install the default Deluge package version of Deluge, follow the instructions below.

Install Deluge GUI.

Deluge setup on Windows.

As mentioned earlier: “Deluge Windows: The latest Windows-supported release is Deluge 1.3.15.”

  • Installing Deluge on Windows platforms is really straightforward. Once downloaded, run the executable file (.exe). If it was downloaded from a source other than deluge-torrent.org, you might want to scan it against Malware.
Installer of Deluge on windows
  • In the next step, you will need to select the components for a Deluge setup.
Windows Deluge installer step 2
  • As you’ll notice, the Deluge BitTorrent Client is grayed out; this is because you are installing the client itself. Still, if you have another torrent client, such as uTorrent, and want to leave that client to handle different tasks, you can set it here. For instance, let uTorrent handle all .torrent files and Deluge all magnet links; this is your chance to customize which components Deluge will manage.
  • In the next step, choose your install location and click Install. That’s it… The Deluge setup is finished
  • You might be faced with the following Windows Security Alert from the Firewall. Allow Deluge BitTorrent to operate anywhere you want. The firewall protects your computer from untrusted (or trusted) traffic coming from an aplication such as Deluge.
Windows Deluge installer step 3  making a buypass through firewall

How to install the headless client on an Ubuntu Server?

A headless client should work on your computer without a Graphical User Interface (GUI) or frontend. For this to work, your headless client needs to receive input and provide output through other interfaces. This client is usually connected to another frontend or interface. 

As stated before, Deluge comes as a server (daemon) and as the user interface (which we all know). This means you can run Deluge server software as a headless service and control it from other machines. You can use the traditional Deluge client or the browser to control the daemon. 

Installing the headless client on an Ubuntu server.

  • Before installing the headless client, you’ll need to set up your server. Create a “deluge” user and group.  Create the user as a system user using their home directory as the main Deluge. 
  • Make Deluge directory and set its user ownership (with recursive).
  • To install the headless/server version, issue the following command. 
  • To install the Deluge console and the web interface, issue the following. 
  • You’ll need to configure the privilege to your deluge users, by adding it to the authentication file. Find the auth file at (.config/deluge/auth), open it and add an entry for the user. 
  • Now, from the deluge-console let’s enable remote connection. This will allow deluged to accept connections from remote computers (other than localhost).
  • By default, the Deluge daemon is disabled, enable it and start it. 

Update Deluge headless install. 

Deluge is included in the official Ubuntu repositories. But, you still need to ensure you are using the latest Deluge version as the Ubuntu repositories may be outdated. Use the following ​Deluge PPA repository as it contains the latest Deluge releases for Ubuntu.

Managing Deluge

Logging Into Deluge.

For purposes of this Deluge guide, we will provide a walkthrough using screenshots of the Deluge WebUI. Note that Deluge Web-UI(remote access) and Deluge (GTK desktop application) designs are slightly different.

In the following example, we will be logging into a remote Deluge WebUI console.

  • Browse to your Credentials page (in the client area).
  • Locate the URL of your Deluge client. It will be in the following format: https://111.222.333.444/deluge/.
  • Navigate to this link, and you will be prompted for credentials, like in the picture below:
login-deluge
  • Connection Manager will open.
  • Select your localhost and click on button Connect as shown in the picture below.
connection
  • When you logged in successfully, you will see the Deluge WebUI console.
delugemain

The Menu Bar.

  • One of the most noticeable WebUI features is the menu bar. We will explain step-by-step what is the purpose of every button.
delugemenubar2

So let’s start explaining what every button does!

  • “Add” button is for adding torrents.
  • “Remove” button. With this button, we can delete single or multiple torrents.
  • “Pause” button we can use for pausing torrents.
  • “Resume” – button role is to resume downloading/uploading your torrent/torrents.
  • “Up” Increase tracker order and priority of the tracker in use.
  • “Down” Decrease tracker order and priority of the tracker in use.
  • “Preferences” button where we can change all of the settings.
  • “Connection Manager” use this button to add new connections and start Deluge daemon.
  • “Help” button. Click this button to access official Deluge support page.
  • “Logout” use this button to log out of the current user session.

How to load a torrent in Deluge?

You can load torrents in two ways, via the URL magnet link or using the .torrent file.

  • To add a torrent in any of the two ways, click on the “Add” button, and you will get a popup window as shown in the picture below:
addtorrent
  • “File” – Using this button, you can browse for .torrent files that you have in your directory and add them into Deluge.
  • “URL” – Using this button, you can add the URL magnet link of torrent you wish to download and add it to Deluge.
  • “Files” tab – Will show all the files that the torrent file contains.
  • “Options” tab – In this tab, you can set up your download destination folder and the “max Download” and “max Upload” speed.
  • “Remove” button – Remove added torrents from add window.

After we select “Add file” or “Add URL”, our torrent file will start downloading as shown in the picture below:

activetorrent1

How to create a torrent with Deluge GTK?

You can’t create torrent files using the Deluge WebUI client. Instead, you must use Deluge thin client, better known as Deluge GTK. To do that, you have to connect to the remote server hosting Deluge, via Remote Desktop via X2Go, and open Deluge GTK.

delugegtk

  • When Deluge GTK opens go to “File” tab in the top-left corner and select “Create Torrent”.
createtorrent
  • A “Create Torrent” window will pop-up.
cratewin

How to use the Deluge GTK’s “Create Torrent” feature?

Below is a brief description of the options you’ll find in the “create torrent” panel.

  • “File” – Using this button, you can browse the files in your directory that you want to create a torrent.
  • “Folder” – Using this button, you can browse for folders that you have in your directory that will create a torrent.
  • “Info” – Using this tab, you can add information to your torrent file like “Author” and “Comments.”
  • “Trackers” – This tab is used for adding trackers to the torrent file you are creating.
  • “Web seeds” – This feature is used so you can paste the location of the web address to the hosted file when creating the torrent.
  • “Options” – In this tab, you can set “Private Flag” for your torrent file and set “Piece Size” that you wish your torrent to have.
  • “Save” – Save your torrent when you create it.

Main Dashboard

When you select a particular torrent (as shown in the picture), you’ll notice on the bottom, all information related to that torrent.

  • You can see these tabs, Status, Details, Files, Peers, and Options. All are showing real-time metrics.
  • That information displyed here, is handy for keeping track of your loaded torrents.
maindashbord

The Status tab.

In the “Status” tab, we can find info about:

  • “Downloaded” – Showing how much data is currently being downloaded.
  • “Speed (Download)” – Showing how much data is currently being downloaded.
  • “Uploaded” – Show how much data is uploaded.
  • “Speed (Upload)” – Showing how much data is currently being uploaded.
  • “Seeders” – Showing how much seeders are connected currently.
  • “Peers” – Showing how much peers are connected.
  • “Active Time” – Showing for how much time a particular torrent file is active.
  • “Seeding Time” – Showing for how much time a particular torrent file is seeding.
  • “Share Ratio” – The ratio that is calculated by dividing the amount of uploaded data by the amount of downloaded data.
  • “ETA”– Estimated time that your torrent need to download the file.
  • “Tracker Status” – Is showing info regarding trackers URL and its Status.
  • “Pieces” – Is showing in how much pieces is your torrent file divided and how big they are.

The Details tab

In the Details tab, we can see all the full details of the data of the torrent file:

detailstab_001
  • “Name” – Name of the torrent file.
  • “Hash” – Hash representation of your torrent file.
  • “Path” – Path to your data.
  • “Total size” – Total size of your torrent file when it is finished downloading.
  • “# of files” – Number of files contained in the torrent file.
  • “Comment” – Comment that author of the torrent file created.
  • “Status” – Status of your torrent file.
  • “Tracker” – Tracker from where you are downloading your torrent file.

The Files tab

In the “Files” tab we can find info about particular files that are included in torrent data. Here, you can see the name of the file, the size, its progress, and its priority.

filestab

The Peers tab

The “Peers” tab shows real-time information about connected peers, their country, speed, and much more.

The Options tab

In the options tab, you can configure different parameters related to your torrent files.

You can see three configuration groups of options: “Bandwidth“, “Queue” and “General“.

optionstab
Bandwidth
  • “Max Download Speed” – Here you can set max download speed of your torrent.
  • “Maximal Upload Speed” – Here you can set max upload speed of your torrent.
  • “Max Connections” – Set max number of connections to your torrent file.
  • “Max Upload Slots” – Set max number of upload slots for your torrent file.
Queue
  • “Auto Managed” – Auto Manage your ratio and download location at torrent completion.
  • “Stop seed at ratio” – Automatically stop seeding when you reach the certain ratio that you can manually set.
  • “Remove at ratio” – Remove torrent file from the client when it reaches certain ratio that you can manually set.
  • “Move Compleated” – When a data file is completely downloaded you can set directory that file will be transferred to.
General
  • “Prioritize First/Last” – Set priority to your torrent files when they are downloading.
  • “Edit Trackers” – Edit trackers from which you are downloading your data.

The Bottom menu bar explained

The Bottom menu bar shows vital information quickly and easily. It displays general “total” speed information, which can be used to set the server’s “Throttle level.” In addition, it also shows the remaining free HDD space on your server.

bottombar

Pro tip: As a best practice, it is recommended not to fill your HDD to 100% to prevent your torrent client from freezing and crashing.

The Left side menu

The left side menu provides quick access to info about loaded torrents. It shows the current state of loaded torrents, such as downloading, seeding, paused, checking, errors, etc.

leftmenu
  • “All” – Sum of total loaded torrents.
  • “Downloading” – Sum of torrents that are currently downloading.
  • “Seeding” – Sum of torrents that are finished downloading and are being seeded.
  • “Paused” – All paused torrents.
  • “Checking” – All torrents that are being checked by the torrent client.
  • “Error” – All torrents that have some error active, that is preventing them from downloading/seeding.
  • “Trackers” – Displays currently loaded, trackers.

Optimizing Deluge User Experience.

Organizing your Downloads.

Your Downloads folder might be starting to get messy after a few many downloads. It is perhaps time to organize it and configure Deluge to continue keeping order. To organize your downloads,

  • Go to Edit > Preferences (or Ctrl+P).
deluge preferences
  • Change to an adequate and preferred location. Deluge will save all your downloads to the “Downloads” folder by default.
  • You might want to change it to keep things organized. Go to Downloads > Folders, and choose the desired folder to download all content. It could be media, stuff, movies folder, or whatever name you give.
deluge preferences downloads options

Setting up Deluge Thin Client for Remote Management.

To set up Deluge for remote accessibility, you’ll have to configure the remote server first. Deluge daemon or “Deluged” can be installed on a central server so that other computers can access and control it remotely through any Deluge client, such as the desktop app or WebUI.

Once you install the Deluge daemon “deluged” into a Server, you can then proceed to configure the local client.

  • For Windows, go to Preferences > Interface > Disable Classic Mode (ensure Classic Mode “Enable” option is unchecked). This action will hide most of the demon functionality on your local computer.
deluge interface  for establishing remote connection
  • Restart your Deluge client.
  • Once Deluge is back again, you will get the following message.
restarting deluge ui to change the classic mode

How to control Deluge remotely with a thin client

Remote access is one of the greatest features of the Deluge torrent client. It allows you to manage torrents remotely via a local client. To control Deluge remotely with a thin client, you have to prepare your remote Deluge machine to accept remote connections, so please follow this tutorial carefully.

Log in to your Seedbox/VPS

To setup Deluge remote access, let’s configure our remote client first.

  • Log in via SSH to your Seedbox.
  • Issue the following command to switch to the user account. The reason for this is because Deluge is configured for the unprivileged account.

Gather required information’s

We need to find information about Deluge. If you are using our default configuration, information’s like username, password, seedbox IP, which you can find in our Welcome email. The default Deluge port is set to 58846.

If this is not the case, follow these steps to find your details:

  • Find your IP address:

or

  • Find your username:
  • Use the following command to get Deluge remote port:
  • Find your password:

Configure Deluge remote option

Now you need to do some minor tweaks on your VPS/Seedbox. Login remotely via SSH. Please follow this guide on How to Connect to Your Seedbox using SSH if you are unsure how to log in. 

  • We need to stop the existing Deluge service first:
  • Or if you are using our newest template:
  • If you are logged via SSH as a root account, you need to switch to a user account first, or to a user for which Deluge is configured.
  • The next step is to set a password:
  • Now, we need to allow remote connections.
  • Start Deluge:

Setting your Local Deluge client

  • Go to Edit/Preferences and navigate to Interface tab as shown on the picture.
  • Disable Classic mode.
client-mode

Adding Remote connection

Now, we need to add an actual remote connection.

  • After you’ve disabled Classic mode, you’ll need to restart your Deluge client.
  • The window below should pop-up when you launch it next time. If not, open Deluge and navigate to Edit/Connection Manager or press Ctrl + M.
add-connection
  • Click on Add button, and add parameters that you’ve obtained in previous steps.

Adding host

  • You need to fill in information as shown in the picture below:
deluge remote
  • Press Add, then Connect.
  • After this step, you should be able to initiate a remote connection with Deluge.

How to Change Deluge WebUI Password

  • Using your WebUI access URL (https://seedboxIP/deluge) given in the client area, “My Services” page, paste it into your browser, and a login window should display.
  • Provide the default password and proceed by clicking Login.
changing deluge web ui password step 1
  • On the WebUI console, choose “Preferences” > “Interface”.
deluge webui interface
  • In this window, you can update your WebUI password. An old password is a password you used to log in previously, a new password is the one you intend to create right now.
  • Once done, click change, and a confirmation prompt will appear confirming the change.
  • Click on Ok > Apply > OK
deluge-preferences

Tune and Tweak libtorrent settings using ltConfig (Advanced users)

ltConfig is a Deluge plugin that allows direct modification to the libtorrent settings. It adds a preference page to both GtkUI and WebUI.

NOTE: Older versions of libtorrent may have different setting names. For information about each libtorrent setting, see the libtorrent manual.

If you are using Windows, start by downloading a .msi installer to update libtorrent. You can get the .msi from a code archive (as follows)…

WARNING: Modify settings at your own risk!

Allowing direct modification to libtorrent settings

To know the correct file to download, first, you’ll need to find out about your Python version. 

  • Go to the command line in Windows “cmd” on and type “Python — version.”
  • Execute the Windows installer (.msi) and then copy the “libtorrent.pyd” file from the install location to your Deluge folder.
Install Python python-libtorrent
  • Go ahead and restart Deluge.
  • You should now see the libtorrent version.

How to install a Deluge plugin.

Plugins make Deluge one of the most fantastic torrent clients out there.

  • To install a plugin, go to the official Deluge plugin website, and browse through their library of 3rd party browsers or application plugins.
  • In this example, you will learn how to allow Streaming video and audio directly from the Deluge client while downloading (something impossible with the original client) with the help of a 3rd party plugin.
  • Find the “Streaming” plugin in the official Deluge library.
Deluge plugins
  • Then download the “.egg file” inside the plugin site. Make sure you download the correct version for your Operating System.
streaming deluge plugin
  • Once downloaded, go to your Deluge client, and open Preferences > Plugins > Install Plugin.
adding/installing pugin to deluge preferences
  • Find the correct plugin version, and click on Open, if it doesn’t work, try with an older or newer version of the plugin.
choose the correct version of plugin
  • Finally, to enable the plugin just check on the “Streaming” option.
  • It will take a few seconds, and then it will be shown in the left-hand side menu (as shown below).
enabling Deluge plugin

Scheduler Plugin for Deluge

One of the most useful built-in features of Deluge is its Scheduler plugin. A unique feature of this plugin is the ability to place limits on bandwidth usage throughout the day.

Here’s a short walk-through on how to activate the Scheduler on WebUI.

  • Login to WebUI using the password given to you in the client area “My Services” page.
  • Go to Preferences > Plugins
scheduler1
  • Check on Scheduler, hit Apply then OK.
  • Close this window first and refresh..
scheduler2
  • The next time you go to Preferences, Scheduler should be available at the bottom as a Category.

scheduler3

How to use RSS on Deluge using YaRSS2 plugin.

In this section, we will show you how to use RSS on Deluge in combination with the YaRSS2 plugin.

Install YaRSS2 plugin

  • Connect to your Deluge WebUI.
  • Then go to “Preferences” > “Plugins”.
  • Select “YaRSS2” and click the install button.
Install-YaRSS2
  • When you click “Install”, a new window will open and it will ask you to add “Plugin Egg”. “Plugin Egg” is version “YaRSS2” plugin based on “Python” version that you are using. So to find out your “Python” version you need to connect to your “ssh/root” and type in this command “python –version”.
python-version
Yarss2-version
  • After you download your “Plugin Egg” you need to go back to your WebUI and add it to the install path.
Yarss2-egg

Using the YaRSS2 plugin

  • After you install the plugin, close the WebUI and connect to the remote desktop.
  • Then go to “Applications > Internet > Deluge”. This will open your Deluge thin client, you need to do this, because “YaRSS2” is not compatible with WebUI
YaRSS2-Deluge
  • When you open Deluge you need to add the Feed that you will use.
  • Go to “Preferences > YaRSS2 > RRS Feed > Add Feed
YaRSS2-AddFeed
  • Enter an “RSS Feed name” and the “RSS Feed URL” for your feed then click Save button.
add-feed
  • Next, you need to click on the “Subscription Tab” then “Add Subscription”
  • A new window will appear where you need to enter a name, select the feed you just added, and enter any filters you want. When you finish all that click on Save.
add subscription
  • Now under the “Subscriptions list”, right-click the subscription you just made and click “Run this subscription” and click OK.
YaRSS2-Subscription

Now you will notice that your torrents will begin downloading. And also, when you finish configuring your RSS feed, you can use your WebUI to check the status of torrents, or you can continue using your GTK over the remote desktop.

Improve Deluge speed and anonymity.

Most users who applied some of the following suggested speed, and privacy settings are pretty satisfied. However, remember that the following suggested Deluge settings should not be treated as a “fit-to-all” approach. Scenarios change for every particular user.

For instance, you might have the fastest bandwidth and best computer, but your ISP might be doing a great job blocking torrent traffic. Or, you are using Deluge VPN, but the VPN service provider is keeping your logs.

Avoid bandwidth throttling.

Internet Service Providers (ISPs) are constantly hunting down P2P and BitTorrent traffic, as this has been one of the “top-consumers” in bandwidth utilization. Although now streaming is probably the number one type of traffic that consumes the most bandwidth, ISPs would still block or throttle torrent due to its reputation. If and when ISPs detect torrent traffic, usually with a port number, they will throttle it (limit it) or completely block it.

Before you can bypass these restrictions imposed by your local ISP, you’ll have to know about Deluge port numbers.

What are the default Deluge ports?

  • The Deluge default port is: 58846
  • The default Deluge port for WebUI is: 8112

By default, Deluge communicates on port 58846. But, remember that this is signaling (communication) and not torrenting traffic. When it comes to data (torrenting traffic), Deluge uses random ports, usual ports between 50,000 and 65,000.

How to change the default Deluge ports? 

To allow inbound and outbound torrent traffic to flow freely, you might have to adjust the default Deluge port settings. You’ll have to change the port because lower ports tend to be blocked by ISPs and conflict with other application ports. 

Go to the Network submenu, and uncheck “Use Random Ports” for incoming and outcoming ports. Assigning a manual port is not always the best option, but it is useful if you need to forward the port. Change the port number to any number between 50,000 and 65,000, and especially avoid lower ports within the 6881-6999 range, as they tend to be blocked by ISPs.

Removing random ports from network tab to avoid being blocked by isp

Disabling vs. enabling DHT.

  • Disable DHT for private trackers. 
  • Enable DHT for public trackers. 

Some private trackers might require you to disable DHT (Distributed Hash Table) or tracker-less method. DHT could leak information about other users within the torrent swarm. These private trackers only provide torrent files with a private tag set, which won’t work when DHT is enabled. 

On the other hand, leave DHT on if you are using Deluge bit torrent client on a public tracker. Although DHT requires more network overhead, it does provide benefits when it comes to public trackers. DHT improves the torrent’s swarm health; it helps find more peers, hence speed. 

  • You’ll find DHT under Network Extras. Disable it if you are using a private tracker.
  • If you are using public trackers with your client, it is recommended to leave all the Network Extras default settings on. DHT and Peer Exchange (PE) will help you find more peers and seeds to download your torrent faster.
network tab extras

Enabling encryption torrent.

If a peer on the torrent swarm has enabled torrent encryption and you haven’t, the connection to this peer will likely fail. 

To improve torrent connectivity, ensure that your client can connect to other peers with the “protocol encryption enabled.” 

  • Ensure that the Inbound/Outbound Encryption at the end of the Network tab is set to Enabled.
  • If you want maximum security, you can Force encryption. You may have to play with this setting a little bit. For instance, enable it for some time, monitor it, disable it after a while, and monitor it again. Force encryption is too rigid and will lower the chances of a successful connection. This option will refuse to connect to other peers that do not have encryption enabled on their end.
Encryption

Note: Bear in mind that the encryption torrent option only encrypts your inbound and outbound torrent traffic. Your traffic can still be intercepted and tagged as torrent traffic, but it will not be readable. If you want to increase your privacy, you’ll need to encrypt the entire layer 3 traffic (at the IP level), so it is recommended to set Deluge with VPN. To hide traffic at layer 7 (application layer), use a torrent Proxy. And finally, to hide, encrypt, and speed up your torrents, use a Seedbox.

Deluge Port Forwarding.

A port forward is a type of networking setting (or rule) that allows NAT (Network Address Translation) at the destination. With port forwarding, a NAT gateway, such as an Internet router or firewall, successfully forwards the received packets to the right destination. A “port forward” rule requires a source and destination with protocol and port information. 

Refer to the diagram below. Let’s say your computer is the one with a green box (dest:10.0.2.2:80). The remote clients connect to your Internet gateway (router) with external public IP 10.10.2.1, through the Internet. The gateway performs NAT, to translate the external IP into the internal IP and port. At the application level, the green computer is using port 80, while the blue computer uses 443. If the router doesn’t know about the ports and destination, it will not forward the traffic.

Why would you need port forwarding in Deluge?

If you feel your communication with other torrent peers is limited, slow, or is simply never possible, your Deluge ports might be being blocked by a networking device. When the gateway, router, firewall, or proxy receives an incoming connection from an external remote client (a torrent peer), the device will not know where to forward it within your Local Area Network (LAN), so it discards it. 

So, since you trust Deluge and the torrent peers, you’ll need to set up Deluge port forwarding so that such a device knows where to forward the traffic exactly. The device intercepting inbound traffic and doing the NAT will now know where to forward that remote Deluge client traffic— to your computer. 

How to configure Deluge Port Forwarding?

  • Before you forward a port (network, layer 3), check the exceptions on your antivirus and firewall (at application, layer 7) to ensure Deluge connectivity is allowed. For example, in Windows, go to the Windows Firewall, then Inbound and Outbound rules, and make sure that Deluge (the application layer) is set to “Allowed.” If there is no such rule, you’ll need to create a new one.

Port forwarding

  • To configure port forwarding in Deluge, you’ll need to log into your router and find the “port forwarding” settings.
  • You must specify the public port on the router or gateway for redirecting traffic to an internal LAN IP address and private LAN port. So, as mentioned earlier, you’ll need source/destionation IP, and port, protocol information.
  • Below is a screenshot of my Internet gateway’s port forwarding options.

Port Forwarding: Provide the following information.

  • Local or internal IP: Your computer’s IP. Note: Make sure your IP is assigned manually. If your network uses DHCP to allocate IPs, as soon as more users conect to the network or your routers restarts, your IP will likely change. You can usually assign a static IP from the same router, which is most of the time a DHCP server (and NAT).
  • Local start and end port: This is where you give the port or range of ports. For instance 50000 – 65000 or a fixed port such as 52500. Remember to avoid ports within the 6881-6999 range, as they tend to be blocked by ISPs.
  • External IP: Leave default values.
  • External start and end port: Leave default values.
  • Protocol: BitTorrent uses TCP.
  • Description. Enter whatever you like to describe your rule.

This new port forwarding rule will map a port or range of ports for the incoming connections, to your LAN’s IP. Make sure that you are using a static IP.

Should you use UPnP?

An easy way to enable port forwarding in Deluge is making sure that UPnP (Universal Plug-n-Play) is enabled under “Network extras”. UPnP in BitTorrent helps peers find each other, by automatically modifying your router to allow port access.

To make this work, the router will also need to be UPnP-enabled. Most new routers have UPnP on by default. If yours is not, find your router’s manual and follow the instructions on how to enable it.

Word of caution: Some users prefer to disable UPnP, as it has been identified with a vulnerability (CVE-2020-12695). It is a vulnerability exploited to gain control of your computer, turn it into a bot and perform a DDoS attack.

Improving Deluge download speed.

Many BitTorrent users would limit “Upload Speed” and set their “Download speed” to unlimited. After all, it is one pipe, so upload traffic would affect download traffic. So, it seems logical to reserve 100% of the capacity for downloading your content. 

But BitTorrent protocol does not work like that. Your “Uploads” speeds will affect the “Downloads.” BitTorrent uses “choke,” a protocol method that limits download speeds; the more upload is limited. It uses this method to prevent congestion and unfair sharing. Users who upload more have more “connection priorities.”

So how can you improve the Deluge download speed?

Although Deluge comes with an option to set the bandwidth for upload and the bandwidth for download separately, one will affect the other. So, you’ll need to find the sweet spot between uploads and downloads.

Step 1. Find out your actual Internet speed

  • To test your Internet connection, use a speed test services such as Ookkla’s Speedtest.
  • In the Speed Test website, change the speed rate measurement from Mbps to Kbps (KiBs are close to Kbps, which is Deluge’s prefered metric)
  • To do this, go to Settings > Speed > and select “Kilobytes” (Kbps).
  • Click on Go to test your speed and record your download and upload speed.
  • It is recommended to test at different times, with various devices, and when there is no traffic in your network (when only you are connected) to get a precise output. 

Asymmetric bandwidth: As you might notice from the test, my download is entirely different from my upload. Most home Internet speeds use asymmetric bandwidth, where upload differs from the download speed. This type of bandwidth is common in homes when there is usually more data that comes than data that leaves the network. So, if you have asymmetric bandwidth, your upload speed is already limited; limiting even more at the application layer (Deluge) won’t help improve your download speeds. 

Step 2. Configure Global Bandwidth Usage

  • Go back to Deluge and into Preferences > Bandwidth.
  • Maximum Connections and “Upload Slots” leave with its default values.
  • Max Download Speed: Leve the default settings (-1.0) means unlimited.
  • Maximum Upload Speed: Same as above, the default settings are set for unlimited (-1.0). Reduce this value between a range of 80% to 90%. Do not go below, as it will also affect your download speed.

Configure global bandwidth usage

  • Leave the rest of the parameters with its default values.
  • As you might notice, download and upload speeds are presented in KiB/s (not Kbps or Mbps). Kibibits per second (KiBs) equals to 1.024 Kbps.

Step 3: Maximizing your queue setting.

Finding the right balance between queues can also be key to speed. Too much download/upload activity may result in overall slow speeds, but at the same time, too little will take you nowhere. So how can you find the right queuing settings? 

Keep in mind, that all active downloading torrents are also seeding at the same time. So, Deluge recommends setting your “Total active seeding” the same as “Total active” and the “Total active downloading” proportionally lower.

Maximizing your queue speeds

However, this decision can also depend on the previously measured bandwidth values. The active number of torrents can also be proportional to your speed.

For example, if your upload speed is between 150 to 250 kbps, set “Total active” to 10, downloading to 8, and seeding to 10. If your upload speed is more than 250 Kbps set your values to 15, 10, and 15 (and so on…).

To maximize your number of downloads without affecting speed, click on the option “Do not count slow torrents”, which will not count slow torrents towards your total active torrents.

VPN, Proxy, or Seedbox in Deluge.

Regardless of what torrent client you use, using BitTorrent will always expose your information in some way or the other. All peers within the same swarm can easily see your data, including IP, country, OS, and even Deluge version. On top of that, even though you might be downloading legal Ubuntu files, your ISP will likely monitor and block all torrent activity.

  • To get an idea of your peers and their information, open Deluge > Go to your download.
  • On the bottom bar, go to Peers, and you will see the information of other peers seeding the file. So, this means anybody can do the same, note down your IP, the current content you are downloading and use a geolocation service to find where you are located and which ISP you are connected to.
Improve anonimity in Deluge

How to stay anonymous with Deluge?

  1. A Proxy: Proxies do not encrypt Layer 3 traffic; they only mask IP information, and in some cases, as SOCKS5 proxies do, protect your traffic with passwords. Sometimes using a proxy is much better than a VPN; this is because proxies do not compromise speed. Learn how to set up proxy in Deluge.
  2. A VPN: Deluge VPNs provide much stronger encryption but compromise speed. A VPN is the best way to protect yourself in a torrent swarm (by masking your IP) and from middle-man attacks or bandwidth throttling (by encrypting all your traffic). For Deluge VPN, OpenVPN is a great tool to begin with. With OpenVPN, you can create a client/server environment or just use any of their servers worldwide.
  3. A Seedbox: A high-speed performance Virtual Private Server “VPS” in the cloud dedicated to seeding torrents. A seedbox gives you the ultimate level of torrent privacy and speed. With a seedbox, you are virtually using another remote computer in the cloud for all torrent activity. This is the best way to protect your identity online and stay secure. A Seedbox from Rapidseedbox is one of the easiest and best VPS, to begin with.

Need more information on how to stay anonymous? The Ultimate Crib Sheet for Staying Anonymous Online might have the answers that you are looking for.

Troubleshooting Deluge.

Just like any other application, Deluge might give you some headaches down the road, especially if you are optimizing and tweaking it out of its default settings. Fortunately, the Deluge community is pretty helpful, so you’ll probably find some easy solutions. Check Deluge Forums, as you might find solutions to your strange problem. 

The following are three of the most common problems found to be affecting the highest number of users.

  • Deluge not uploading or not seeding
  • Test active port fails.
  • Deluge torrent error

Check if you have the same symptoms and try following any of the solutions.

No Incoming Connections!

If you Deluge is not seeding (not uploading) but it is able to download. In addition, you are seeing the “No incoming connections!” at the bottom of the Deluge client; you might be having a port mapping issue.

Troubleshooting no incoming connections

The “no incoming connections” is probably due to a closed port (at least Deluge sees it that way).

  • First, try restarting any firewall or router that might be blocking the connection.
  • If that didn’t work, by all means, make sure that your firewall has the Deluge exception (deluge.exe, deluge-console.exe, deluged.exe, deluge-gtk.exe, and deluged-web.exe) and that the firewall/router is accepting all incoming connections from the Internet to the program.
  • Go back to the port forwarding section.

The “Test Active Port” fails.

Test active ports failed

If you defined ports between 50,000 and 65,000, you are on the right track. To pass the “Test Active Port,” you’ll first need to make sure your port forwarding is working. You can use an open port check tool like CanYouSeeMe and test whether the tool can see your Deluge through that port. If that fails, then it means your ports are not forwarding.

Try the following solutions:

  • Enable UPnP in Deluge and on the router. (Disable after testing).
  • If UPnP works, disable it and configure manual port forwarding. Look into your device’s instructions manual and follow the steps to forward a port manually.
  • Make sure that your antivirus / antimalware is not blocking your connection.

Deluge torrent error.

The client stops downloading and shows an error message.

Deluge torrent error: Downloads randomly stop and display an error message in the download bar.

Stops downloading torrent and shows error message

To solve this problem, you can try the following solutions:

  • Check whether the status of the torrent is Ok.
  • Some file scanning application like Antivirus might be stopping your download.
  • Upgrade or downgrade your program.

Torrents not working with Deluge VPN.

While using a VPN with Deluge, your client is not able to find peers for your torrents, or in the best case, it downloads very slowly. 

Usually, VPNs will not discriminate against different types of traffic in order to maintain the security and privacy of users. But, if you can’t use a VPN with Deluge, then it is probably because your VPN provider does not support torrents or P2P. Contact and consult them. 

If they do support P2P traffic, but you are still having problems, then check the following: 

Problems with torrents and VPN are usually related to the configuration on the local machine or the VPN server and not related to ISPs.

  • Check your internal software firewall / anti-malware and make sure they are not blocking the connection of the program. If they are, make an exception.
  • Try disabling UPnP and NAT-PMP, as they will automatically assign ports that might not be specified on the firewall of the VPN. To disable these parameters, go to Edit > Preferences > Network > Network Extras.
Torrents troubleshooting problem with vpn
  • Use the open port check tool such as CanYouSeeMe to make sure that your ports are open. If the tools fail to open communication with the Deluge ports, it means that your ports are being blocked. To solve this, you will have to manually forward your ports.
  1. As a brand new torrent user this is a God send. I have been looking for a how to guide to set what ever switches that may need to be set in deluge. Also, While I had the latest release I set in on my end to run in cojmpateable mode with os7 for windows not os1`0. But this article says it supports 7 thru 10.

    So I will undo that and follow the guide for settings. Especially since I have exactly some of the errors
    listed under trouble shooting. LIKE no incoming connections. Very frustrateing when you have no clue.
    So yes very helpful and thank you for your time and effort to post this for all us newbies.

  2. Great job explaining the different options and how to use the program most effectively! Thanks!

  3. All the guides and help I find online talk about tuning Deluge when you connection is 200Kbps or 300Kbps. We moved past those speeds long, long ago. Do you have any tuning advice for those of us with modern broadband connections? I just ran Speedtest and got a result of 670Mbps down, 38Mbps up, which is typical for me. I’ve got Total Active Torrents set to 1024, and Active Downloading and Active seeding set to 512 each. Do these make ANY sense? If I use smaller numbers (let’s say 32 as an example) as soon as I get very slow or non-responsive torrents into the 32 queue slots I basically stop downloading.

    Thanks for your guide – it’s great to have this in one place.

    1. Thanks for your advice Andy.
      The idea of the guide is to provide advice on how to optimize Deluge regardless of the external factors: say bandwidth or processing power, as these factors change dramatically from user to user… But thanks for the advice… we’ll update the speeds information to fit today’s average bandwidth speeds.

  4. For me Deluge is so frustrating. I tested almost all known Linux distros (CentOS, Arch, Ubuntu 20.04/18.04) with all Deluge (1.3.15/2.0.3/2.0.4) and libtorrent versions. There are always new problems I can’t solve. Like 100% downloaded torrents which are still on queue and/or won’t move to “completed folder”. 2.0.3 stopped working at all after a certain amount of torrents in queue. On 1.3.15 I had to disable “use_read_cache” via ltconfig because of heavy disk read load. Now my Deluge (1.3.15/libtorrent 1.1.14) is not responsive at all. If I kill the process I guess I’ve to rehash TBs of torrent again.. WOW!

  5. Hi,

    Thanks for the guide it was really helpful.
    Could you elaborate on Step 3: Maximizing your queue setting.
    What is the calculation used to optimise this setting?
    e.g. Speedtest upload is 35Mbs what would the calculations be?

  6. Thanks so much for this! I am not nearly tech savvy enough to understand what most people on reddit say when trying to explain this stuff and you did very well. I was wondering if you maybe know how to STOP (end/finish) a Deluge download once it has finished? I have turned down the seeding to the lowest level and then pause it after a while, but it doesn’t seem as though there is any option to fully end/finish it? Any tips would be helpful 🙂

  7. Can you tell me why sometimes I have 0 DHT ? Most of the time I have 300+ but lately it’s been stuck on 0. Is there anyway to kickstart it into having the whole 300 easily?

  8. This guide is ok, but it misses an important point.

    WHICH PORT?
    Allowing P2P users to make clean and fast connections through “Port Forwarding”.
    you speak of a port but what port are you talking about?

    1. Hello Jamie… the range of ports is specified across the guide.
      BUT we created a new section for port forwarding along with the ports to configure, to make it clearer and easier to read.

      “For torrenting: port number between 50,000 and 65,000. Avoid ports within the 6881-6999 range, as they tend to be blocked by ISPs.
      For client communications Deluge listens to port 58846.”

      Refer to this: https://www.rapidseedbox.com/kb/ultimate-deluge-guide#portforwarding

  9. after your recent migration DelugeSiphon no longer works when I add magnet links. the server is right and password is right but something client side isn’t working anymore on the new ip.

Speak your mind

Leave a Reply

Your email address will not be published. Required fields are marked *