Blocking Bittorrent at certain times?!

Discussion in 'Tomato Firmware' started by drsherman, May 6, 2008.

  1. drsherman

    drsherman Addicted to LI Member

    Hi all,

    I have had a search on the forums but can not find a relevant answer so I am hoping that somebody can help...

    My ISP has set up a restriction meaning that only around 1 gig can be download between peak hours. I have a Tomato router and I am trying to setup a rule that will disable bittorrent traffic between 16:00-21:00.

    My rule works because it will stops any new bittorent connections being created and also when the time range end the connections reform. However, it does not stop the existing connections.

    As I am away from my computer at 4pm I am unable to close bittorrent manually, does anybody know of a way around this?

    Many thanks in advance
  2. jersully

    jersully LI Guru Member

    I've only used Bittorrent and uTorrent, but they have an internal scheduling function. Each hour of each day can be configured for full-speed, restricted-speed, or no torrents.
  3. drsherman

    drsherman Addicted to LI Member

    many thanks
  4. HennieM

    HennieM Network Guru Member

    Assuming your rule that works is an "iptables -A..." and "iptables -D..." type thing.

    A way to stop existing connections may be by restarting iptables so it flushes all chains and then redefine them. This would, however (if it works), break ALL connections active at that time.

    I think the restart is something like this
    service iptables restart
    but I'm not sure
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice