Linux-admin Development Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Remigiusz Kosztowny" <kacza@alfa-system.pl>
To: linux-admin@vger.kernel.org
Subject: COUNTING in FORWARD.
Date: Thu, 12 Dec 2002 16:38:49 +0100	[thread overview]
Message-ID: <003301c2a1f4$91578780$bea83050@kacza> (raw)

Hello.
I have problem with 2.4.20 and 2.4.21-pre1
Counting in FORWARD rule don't work.
For example when i set:
iptables -N get-http
iptables -N put-http
iptables -I FORWARD -p tcp -o eth0 -s xx.xx.xx.0/24 --dport 80 -j put-http
iptables -I FORWARD -p tcp -o eth1 -d xx.xx.xx.0/24 --sport 80 -j get-http
This not work, because:
[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

With 2.4.19 everything is OK.
I have bridge with 4 PC ethernet cards, iptables v1.2.7a

Please, help me.
--
Remigiusz Kosztowny
casper@IRCNet
PGP Key ID: 0x08495721  http://www.alfa-system.pl/~kacza/kacza.asc
[ When I Die, Bury Me Upside Down, So The Wolrd Can KISS MY ASS. ]



             reply	other threads:[~2002-12-12 15:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-12 15:38 Remigiusz Kosztowny [this message]
2002-12-12 15:50 ` COUNTING in FORWARD Remigiusz Kosztowny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='003301c2a1f4$91578780$bea83050@kacza' \
    --to=kacza@alfa-system.pl \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox