Find the answer to your Linux question:
Results 1 to 6 of 6
Because i have connections limit from my ISP when i download with Torrent client i cant browse anything else or the torrent dont download with my full spead. My question ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2004
    Posts
    18

    Connections limit


    Because i have connections limit from my ISP when i download with Torrent client i cant browse anything else or the torrent dont download with my full spead.

    My question is how can i limit connections only on a single port with iptables or something else?

  2. #2
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Buenos Aires, Argentina
    Posts
    908
    Yes, it looks like it's possible with iptables. Take a look at this, it's for limiting ssh, but I guess that it'd work with any port..

    http://www.debian-administration.org/articles/187

    Good luck.
    serzsite.com.ar
    "All the drugs in this world won\'t save you from yourself"

  3. #3
    Just Joined!
    Join Date
    Nov 2004
    Posts
    18
    I want to do something like this:
    http://www.netfilter.org/documentati...TO.html#toc3.5
    but do i need to recompile with some patch the kernel because i am a newbie? I am using SuSE 9.3. Until now i only used Yast for SuSEFirewall.

    Yes, it looks like it's possible with iptables. Take a look at this, it's for limiting ssh, but I guess that it'd work with any port..

    http://www.debian-administration.org/articles/187

    Good luck.
    I used this and it didnt work am i wrong?
    iptables -A OUTPUT -p tcp --dport 3636 -m state --state NEW -m recent --set
    iptables -A OUTPUT -p tcp --dport 3636 -m state --state NEW -m recent --update --seconds 600 --hitcount 10 -j DROP

  4. #4
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Buenos Aires, Argentina
    Posts
    908
    Sorry buddy, I can't help you since I don't know much about iptables..
    serzsite.com.ar
    "All the drugs in this world won\'t save you from yourself"

  5. #5
    Just Joined!
    Join Date
    Jul 2005
    Posts
    28
    The best choice for this work is 'TC' (Trafffic Controller). But I;m sorry that I haven't seen a good HOWTO for it.

  6. #6
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Buenos Aires, Argentina
    Posts
    908
    I found a few HOWTOS, go ahead check them.

    http://www.google.com/search?hl=es&q...n+Google&meta=

    Hope this helps.
    serzsite.com.ar
    "All the drugs in this world won\'t save you from yourself"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •