[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: iptables / traffic accounting

On Tue, 2003-05-13 at 11:48, Dreimann, Philipp wrote:
> Hello,
>  I'm currently using the following rules to account my IP-Traffic:
>                 iptables -N traffic
>                 iptables -A traffic -i eth0
>                 iptables -A traffic -o eth0
>                 iptables -A INPUT -j traffic
>                 iptables -A OUTPUT -j traffic
> And I'm using the following command "iptables -L traffic -v -n
> --line-numbers -x -Z" to get the traffic which was send over my eth0
> interface and reset it (i do this every hour). 

I was trying to use this but it doesn't seam to account for masquerade
packets. Any way around this?

Pedro Corte-Real.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: