Re: limit traffic using iptables
On Wed, 17 Dec 2008 08:36:44 -0500
"Luis A. R. Paz" <luis@azunet.minaz.cu> wrote:
> Julian Esteban Perconti escribió:
> > Luis A. R. Paz escribió:
>
> example
>
> iptables -A FORWARD -s 172.16.2.0/23 -d 0.0.0.0/0 -m limit 512kb -p
> tcp --dport 8080 something like that
I you need at least the tools from the iproute package. You have to
use iptables in combination with tc and probably iproute if you have
more than one interface.
Documentation:
http://www.faqs.org/docs/Linux-HOWTO/Bandwidth-Limiting-HOWTO.html
Some example:
http://www.adamsinfo.com/bandwith-limiting-with-linux-tc-and-iproute2/
/Benjamin
--
Freundliche Gruesse/Best Regards
Benjamin Hackl
IT/Administration
Media FOCUS Research Ges.m.b.H.
Maculangasse 8, 1220 Wien
Tel.-Nr.: +43 1 258 97 01-295
benjamin.hackl@focusmr.com
http://www.focusmr.com/
Reply to: