On 3/1/07, Boyd Stephen Smith Jr. <[EMAIL PROTECTED]> wrote:

That would be correct, since every forwarded packet passes though both the
pre-routing and post-routing chains, so you are counting every packet (at
least those that are not dropped in the FORWARD chain) twice.


I don't fully understand how is that possible that my rules count packet
twice, could you explain it more briefly?

I specified -i eth0 in PREROUTING and -o eth0 in POSTROUTING. Isn't this
correct way to count packets only once? ...and I'm getting values only from
chain 'stat', which is called only from PREROUTING and POSTROUTING with
specified network interface respectively to direction (-i/-o eth0).
So in my opinion a packet traveling through the router to my network passes
only once through 'stats' as it is accepted only in PREROUTING with -i eth0,
and not in POSTROUTING with -o eth0, as it goes out from eth1. Am I correct?

Reply via email to