Zitiere Mike <[EMAIL PROTECTED]>:

for accounting you can use

iptables -A FORWARD -s $INTERNAL_LAN

for the outging traffic and

iptables -A FORWARD -d $INTERNAL_LAN

for the incoming traffic.

in first and second row of the output of "iptables -L -v" you can see the 
packest and the bytes. 

Note that this two rules should be at the binning aof the FORWARD chain.

Have fun

Damian



> Hi all!
> I have linux box RedHat 7.1 with two ethernet interfaces, kernel
> 2.4.9-12 and iptables 1.2.5
> I'd like to account traffic going throug my firewall box by IP address
> Can I do it with iptables ??
> and if I can how ?
> if I can't are there any other tools ???
> 
> 
> Thanks all
> Mike 
> 


Reply via email to