Page 1 of 1

FreeBSD jailed - downloading doesn't start!

Posted: Thu Apr 20, 2017 6:30 pm
by Psyloh
I have deluge 1.3.14 with libtorrent as the only application installed along with its dependencies in a jail at!
I connect to it through the built-in deluge_web json app!
I tried to add this overseeded torrent magnet:?xt=urn:btih:0a84cfa3c0165a72ed554cad2de51b91bea9904c&dn=FreeBSD-11.0-RELEASE-amd64-dvd1.iso but the download never starts...
Since I am using PF as my server's firewall, I disabled all blockages and set up redirection rules for ports 6881 to 6891 from my public ip to!
I also started deluged with the flag -i as I guess this is probably mandatory..! All outgoing traffic from is, of course, nated!

When I restart deluged, the web ui prints positive diminishing dl speed as if deluge is pretending to work until that speed goes down to zero...
In the core.conf file, "/Downloads" is set as the directory where things should get downladed but it doesn't exists anywhere! I don't even know whether it will be auto-generated or if I have to create it myself..! And where to create it?? In the home of the deluge-user?

I would like to know if it exists explanations with examples about core.conf variables so I could tweak it myself with full knowledge of what I'm doing?

Re: FreeBSD jailed - downloading doesn't start!

Posted: Thu Apr 20, 2017 6:39 pm
by Psyloh
I don't really know the exact process of bitorrent protocol but I guess nat is enough to download since deluged is supposed to open tcp connections to other bitorrent clients in order to grab file parts... So I just can't imagine why it's not working!!

Re: FreeBSD jailed - downloading doesn't start!

Posted: Fri Apr 21, 2017 1:07 pm
by shamael

Most tutorial will advise to change the default port to avoid ISP throttling, so for example set 56000 as incoming and 57000-57020 as outgoing port. About the folder you can create it whereever you want, just be sure the user has the correct access to it. The default one "download" should be in the home folder of the user daemon run with.

If possible test your setup with a public torrent, ubuntu default site has some if needed and without PF. When the setup is functional add the PF layer make it easier to pinpoint any issue.

Re: FreeBSD jailed - downloading doesn't start!

Posted: Sat Apr 22, 2017 1:13 pm
by Psyloh
As I said in my post, I am trying to dl a public freebsd torrent...
I am tweaking a private server from, there is no throttling!
I set the download folder as the home of the deluge user...
My jail's ip is not public : -> I need PF to nat and redirect the traffic!
All outgoing traffic is permitted and I am redirecting incoming traffic through the right ports!!

Do I have to tweak "listening interface"? Is it possible to get some proper doc about the configuration?????????????????