From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Remigiusz Kosztowny" Subject: Re: COUNTING in FORWARD. Date: Thu, 12 Dec 2002 16:50:52 +0100 Sender: linux-admin-owner@vger.kernel.org Message-ID: <004301c2a1f6$3ffa9a10$bea83050@kacza> References: <003301c2a1f4$91578780$bea83050@kacza> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-admin@vger.kernel.org [...] > [root@bridge root]# iptables -xvnL FORWARD | head -n 3 > Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) > 0 0 get-http tcp -- * eth1 0.0.0.0/0 > xx.xx.xx.0/24 tcp spt:80 > 0 0 put-http tcp -- * eth0 xx.xx.xx.0/24 > 0.0.0.0/0 tcp dpt:80 Sorry for my mistake. Should be: [root@bridge root]# iptables -xvnL FORWARD | head -n 4 Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination 0 0 get-http tcp -- * eth1 0.0.0.0/0 80.48.168.0/24 tcp spt:80 0 0 put-http tcp -- * eth0 80.48.168.0/24 0.0.0.0/0 tcp dpt:80 pkts and bytes are equal zero, why? In 2.4.19 it's OK, in 2.4.20 not.