Linux traffic shaping problem

Manuel Aróstegui Ramirez manuaroste at yahoo.es
Tue Mar 9 05:38:02 UTC 2004


 --- Leo <champen at terra.es> escribió: > 
> 
> It only works for routing?
> 
> Actually I have a box running linux with two cards,
> but which also runs 
> a web server.
> 
> I want to filter all traffic: what's going through
> the router, and what 
> actually comes out (or into) the linux router, for
> example the web 
> server traffic (which runs in the same router).
> 
> Currently the router and web server work Ok.
> 
> Before I run the tc filters on the router, I was
> doing tests on other 
> (single etherneted) computers.
> It's not possible to do this?

You can filtered your Linux Box (the router one)
filetering with IPTables (kernel 2.4 or 2.6) or
IPchains (kernel 2.2).
You must filtered your ethernet card (the one which
have the public address and then route your "clean"
connection to your private ethernet (the private
ethernet card).

> 
> 
> 
> >
> >What's the output of cat /proc/net/route?
> >Have you set up your eth intefaces (hope you have
> two
> >ethernets cards)?
> >Have you add the route gateway to your Kernel ARP
> >Table?
> >
> >route add -net 10.20.6.1 netmask 255.255.255.0 eth0
> >for example...
> >
> >Best Regards
> >
> >  
> >
>  

=====
--

Manuel Aróstegui Linux user 200896

___________________________________________________
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es





More information about the redhat-list mailing list