

Note: Limiting incoming connections is not recommended with libtorrent as this will limit the ability to keep multiple connections to the same client, even for different torrents. To fully turn off connection tracking for torrents, specify ports for both Incoming and Outgoing traffic in Deluge, for instance, 56881-56889 for incoming connections and 56890-57200 for outgoing connections.
DELUGE BITTORRENT DOWNLOAQD TORRENT
For this reason, it may be necessary to disable connection tracking of all torrent traffic for optimal performance, even with the listening ports set to ACCEPT (as the causes for dropping INVALID packets, for instance conntrack's memory problems, may supercede any rules to accept traffic to/from those ports). Symptoms of this problem include torrents not seeding, especially when the torrent client has been active for more than a day or two continuously, and consistently low overhead traffic (in one experience, less than 3KiB/s in either in or out) with DHT enabled, even when deluge/libtorrent has been continuously running for more than forty-eight hours and many torrents are active.

On many default configurations, when using iptables with connection tracking (conntrack) set to drop "INVALID" packets, sometimes a great deal of legitimate torrent traffic (especially DHT traffic) is dropped as "invalid." This is typically caused by either conntrack's memory restrictions, or from long periods between packets among peers (see and ). Note: One can limit this to a single port, just be sure to enable both TCP and UDP. # chown -R deluge:deluge /mnt/torrent_data Add your user (or the user/users needing to access the files) to the deluge group.Set the File permissions and attributes on the shared directory to at least 770.Change the owner and group of the shared directory to deluge:deluge.When using the systemd rvice, the shared directory/directories need to be shared so that other users on the system are able to access the data. This means that if the daemon is running as the deluge user, the default home directory is /srv/deluge/. $HOME refers to the home directory of the user that deluged is running as. See systemd/User for more information on user services.ĭeluge can be configured through any of the clients as well as by simply editing the JSON-formatted configuration files located in $HOME/.config/deluge/. The deluged user service can also be placed in $HOME/.config/systemd/user/. The deluge user service can now be started and enabled by the user. This is accomplished by creating a user service file:ĮxecStart=/usr/bin/deluged -d -P %h/.config/deluge/deluge.pid Warning: If multiple users are running a daemon, the default port (58846) will need to be changed for each user.Ī user service will allow deluged to run when systemd -user is started. Running it directly (runs as another user).Systemd user service (runs as another user).Systemd system service (runs as the deluge user).Users are able to start the daemon several ways: This user is meant to run the provided daemon, /usr/bin/deluged. Upon installation, pacman will create a non-privileged deluge user. The client can disconnect but the daemon continues to run transferring the torrent files in the queue. The server is referred to as the daemon and runs in the background waiting for a client (console, gtk, or web-based) to connect.
DELUGE BITTORRENT DOWNLOAQD INSTALL
Be sure to read and install the optional dependencies for the gtk client deluge-gtk to enable desktop notifications and appindicator notifications.ĭeluge works with a client/server model. Install deluge and optionally install deluge-gtk.
