Skip to contentSkip to conversation

limit one ip from my network traffic.

LARTC Linux New 2 participants 2 messages Jun 14, 2002

lore
Share & tools
lore

Linux New

author
#0 lore raw

I've searched the net.. and found almost nothing.. limit conexions to an ip, but no limit the traffic.. It's like windows QoS. I'de like to know where I can find a how to or smth to limit a certain ip's from my network traffic. To make an example: I would like to limit 192.168.0.2 from my network to have an incoming rate of 7k/s, he is linked to my eth0 thru a switch and eth0 and eth1 are on my linux box. How do Iimit that ip's traffic ? or .. how do I limit all the trafic to an specific port. and that is 1214, the one that Kazaa uses.. I get a lot of traffic from that software.

I use iptables for masquerade

Tnks a lot

a linux newbie

---------------------------------
Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup

#1 lore raw
Quoted 9 lines · Linux New

I've searched the net.. and found almost nothing.. limit conexions to an ip, but no limit the traffic.. It's like windows QoS. I'de like to know where I can find a how to or smth to limit a certain ip's from my network traffic. To make an example: I would like to limit 192.168.0.2 from my network to have an incoming rate of 7k/s, he is linked to my eth0 thru a switch and eth0 and eth1 are on my linux box. How do Iimit that ip's traffic ? or .. how do I limit all the trafic to an specific port. and that is 1214, the one that Kazaa uses.. I get a lot of traffic from that software.

As a start, you can read the Lartc HOWTO
http://lartc.org/

And I have some more info on traffic shaping on www.docum.org

And yes, you can do what you want with linux :)

Stef

Signature · 7 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/