Re[2]: Counting traffic - another question

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

 



Witam

Tuesday, July 27, 2004, 2:59:13 PM, you wrote:

> No need to MARK the packets (unless you want the MARKs for something else?),

Yes, I need MARKs for traffic shaping. Sorry, I forgot to mention this.

> and you can specify input & output interface in the FORWARD table to identify
> which way through your firewall the packets are going.

 $IPTABLES -t mangle -A FORWARD -i $LOCAL_IF -o $INET_IF  -j statsout
 $IPTABLES -t mangle -A FORWARD -i $INET_IF -o $LOCAL_IF -j statsin



-- 
Pozdrawiam
 Marcin                            mailto:slacklist@xxxxx



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux