IPTABLES limit bandwidth?

Discussion in 'Linux Networking' started by Supercell, Mar 11, 2005.

  1. Supercell

    Supercell Guest

    Hi,

    I am trying to limit the bandwidth of a particular port and hoped I
    could use iptables for this. I am aware of the --limit parameter, but I
    don't know how to set it up to say, limit the outgoing throughput to
    say 512Kbits/sec. Is this possible with IPTALBES or am I going to have
    to try something else?

    Thanks,

    Mike
     
    Supercell, Mar 11, 2005
    #1
    1. Advertisements

  2. You should look for QoS and the tc command. Take a look at
    the LARTC howto at http://lartc.org.
    Regards.

    --

    Jose Maria Lopez Hernandez
    Director Tecnico de bgSEC

    bgSEC Seguridad y Consultoria de Sistemas Informaticos
    http://www.bgsec.com
    ESPA√ĎA

    The only people for me are the mad ones -- the ones who are mad to live,
    mad to talk, mad to be saved, desirous of everything at the same time,
    the ones who never yawn or say a commonplace thing, but burn, burn, burn
    like fabulous yellow Roman candles.
    -- Jack Kerouac, "On the Road"
     
    Jose Maria Lopez Hernandez, Mar 11, 2005
    #2
    1. Advertisements

  3. Supercell

    abhtiw Guest

    iptables --limit option is used only to limit the number of times a
    particular rule is applied in a given time. I dont see how that can be
    used to limit the bandwidth. Use tc to limit and iptraf/stakrate/bwm etc
    to monitor.

    -Abhishek
    Drishti Soft
    www.drishti-soft.com
     
    abhtiw, Mar 11, 2005
    #3
  4. Supercell

    Ole Borup Guest

    Ole Borup, Mar 14, 2005
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.