From: Andreas Kretschmer <andreas_kretschmer@despammed.com>
To: netfilter@lists.netfilter.org
Subject: Re: [despammed] -i and -o options for iptables FORWARD chain
Date: Fri, 2 Jan 2004 14:30:02 +0100 [thread overview]
Message-ID: <20040102133002.GA6057@kaufbach.delug.de> (raw)
In-Reply-To: <009a01c3cff6$ee23bd90$a5bbd00c@issaquah>
am Wed, dem 31.12.2003, um 15:36:34 -0800 mailte Gongya Yu folgendes:
> Hi, I just updated Linux kernel to 2.6.0 with iptables and ebtables enabled.
I'm using iptables on 2.4.x, possible there are differences with 2.6.x.
>
> But iptables ignores -i and -o options for FORWARD chain. Wheneneve I use
> something like -i eth0 or -o eth0, the rule is just ignored.
RTFM!
-i is only for INPUT, FORWARD and PREROUTING
-o is only for FORWARD, OUTPUT and POSTROUTING
You can use -s and -d (Source and Destination-IP).
Andreas
--
Diese Message wurde erstellt mit freundlicher Unterstützung eines freilau-
fenden Pinguins aus artgerechter Freilandhaltung. Er ist garantiert frei
von Micro$oft'schen Viren. (#97922 http://counter.li.org) GPG 7F4584DA
Was, Sie wissen nicht, wo Kaufbach ist? Hier: N 51.05082°, E 13.56889° ;-)
next prev parent reply other threads:[~2004-01-02 13:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-31 23:36 -i and -o options for iptables FORWARD chain Gongya Yu
2004-01-02 13:08 ` Antony Stone
2004-01-02 13:30 ` Andreas Kretschmer [this message]
2004-01-02 14:03 ` [despammed] " Antony Stone
2004-01-02 14:25 ` Andreas Kretschmer
-- strict thread matches above, loose matches on Subject: below --
2004-01-02 15:13 bmcdowell
2004-01-02 15:21 ` Andy Loukes
2004-01-02 16:05 ` Unknown, Alistair Tonner
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=20040102133002.GA6057@kaufbach.delug.de \
--to=andreas_kretschmer@despammed.com \
--cc=netfilter@lists.netfilter.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