

- Deluge client can not accept incoming connections install#
- Deluge client can not accept incoming connections torrent#
# iptables -I INPUT -p icmp -icmp-type 11 -j ACCEPT # iptables -I INPUT -p icmp -icmp-type 4 -j ACCEPT # iptables -I INPUT -p icmp -icmp-type 3 -j ACCEPT # iptables -t raw -I OUTPUT -p tcp -sport 56881:57200 -j NOTRACK # iptables -t raw -I PREROUTING -p tcp -dport 56881:57200 -j NOTRACK # iptables -t raw -I OUTPUT -p udp -sport 56881:57200 -j NOTRACK # iptables -t raw -I PREROUTING -p udp -dport 56881:57200 -j NOTRACK

Then issue the following commands (after substituting the relevant port ranges): 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 client can not accept incoming connections 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.

Deluge client can not accept incoming connections 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. 6.4 Torrents list has completely disappeared after an unexpected shutdown.

