I am looking for a torrent client that offers a web interface, and also can limit the monthly ingoing and outgoing traffic. For example, only allowing a set limit of 250GB combined in/outgoing traffic per month. Once this limit has been met, traffic is blocked (or another process is trigged) and a page is displayed starting the limit has been met.

I am currently using Debian Lenny, but I can rebuilt to others.

  • It would help noting clearly that you do not want a linear shaping over the month but a hard limit that will block torrent traffic at 250GB per month.
    – nik
    Aug 10, 2009 at 18:11
  • 1
    Sounds to me like a SuperUser question.
    – John Gardeniers
    Aug 11, 2009 at 2:48

4 Answers 4


I've gotta say that I've been very happy the last couple of years using torrentflux-b4rt as my primary torrent client.

And although it doesn't naturally include the monthly transfer limit. However the forum does include a hack on how to add that feature to the program. Which is here.

Hope this helps.


I cannot think of a client since have not looked at many.

But, since you are on linux, you could setup a iptables meter on the torrent traffic and script a firewall action after your threshold crossover.

Note that I am not referring to the limiting/shaping control.
But, a slightly more involved trick using iptables, cronjob and some scripting.

  1. Setup metering of the torrent activity with iptables
    • This would be where you need some help from others,
      I have not used iptables as extensively as this would require.
      Maybe, the Owner Match with --uid-owner option will work (limited to OUTPUT chains).
    • If you get this worked out, the other parts should be easy to setup
    • Setup a cronjob to track the meter (basic scripting)
    • When the threshold (250GB) is hit,
    • introduce a iptables rule to block torrents
    • alternatively, shutdown the torrent client itself
    • at the end of your period (month)
    • check if the firewall was activated
      • disable it if so (or restart the client maybe)
    • reset the meters with a -Z command

I have conjured this method just now.
Do not have sufficient data to confirm it will work.
Maybe, some others with more iptables experience will be able validate and add.

Or, there could be an easier way to do this -- with some other tool chain.

Will update further if I get any more ideas.

  • That sounds like it would work. I could use --uid-owner with the iptables because the torrent client has it's own system user. Would you be able to show me how to set this up? I can give you my email address if it is easier! Thank you.
    – loco41211
    Aug 10, 2009 at 17:42
  • 1
    Well, this is roughly the same that I've suggested you in my answer[1] to your previous question. I think that using the --quota option would be a lot easier. But of course YMMV and you should experiment with different solutions until you reach the one that works best for you. Best regards, Alex. [1]: serverfault.com/questions/52027/…
    – alemartini
    Aug 10, 2009 at 23:20
  • I think the setting up of metering is the difficult part, so I can track the traffic, I will try and look through it though. Thank you for the help so far.
    – user4961
    Aug 11, 2009 at 10:42

I don't think there is a torrent application out there that's web-based and automatically limits bandwidth per month. There is, however, web-based torrent clients that limits bandwidth per torrent (ie. utorrent).

You may need to do that by monitoring the incoming traffic because all of the torrent clients I know of, only do the limiting bandwidth per torrent.


I'll check this and edit when I get home, but I'd take a look at deluge.

  • Unless you have a specific plugin I'm not aware of, no, it can't
    – user7963
    Sep 15, 2009 at 22:58

You must log in to answer this question.