From: "Brad Morgan" <B-Morgan@concentric.net>
To: Keller Nicolas <nicolas.keller@slb.de>, netfilter@lists.netfilter.org
Subject: RE: Multiple Source Addresses
Date: Tue, 15 Apr 2003 11:39:53 -0600 [thread overview]
Message-ID: <NABBJOOEOFODEALNMJAJEEJNIAAA.B-Morgan@concentric.net> (raw)
In-Reply-To: <22FCCF057850DB48B98178E1811374830DA6D9@slra07.slb.de>
How about:
iptables -N good-ips
iptables -A good-ips -s 192.168.43.1 -j RETURN
iptables -A good-ips -s 192.168.43.2 -j RETURN
iptables -A good-ips -j LOG
and add:
iptables -A INPUT -j good-ips
in the appropriate place.
-----Original Message-----
From: netfilter-admin@lists.netfilter.org
[mailto:netfilter-admin@lists.netfilter.org]On Behalf Of Keller Nicolas
Sent: Tuesday, April 15, 2003 10:29 AM
To: netfilter@lists.netfilter.org
Subject: Multiple Source Addresses
Hi!
I want to log every packet that *doesn't* come from IP1 and IP2 (because
these two hosts should be the only one that communicate with the
Firewall). Up to now I couldn't figure out a way to do this, as it is
NOT possible to include multiple source addresses in one line, like
this:
iptables -A INPUT -s !192.168.43.1 !192.168.43.2 -j LOG
Anyone can show me a way to get this to work?
Thank you very much!
Nicolas Keller
next prev parent reply other threads:[~2003-04-15 17:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-15 16:28 Multiple Source Addresses Keller Nicolas
2003-04-15 17:27 ` Martijn Lievaart
2003-04-15 17:39 ` Brad Morgan [this message]
2003-04-15 18:10 ` Aaron Berg
2003-04-28 15:33 ` unsubsrcibe Linux
-- strict thread matches above, loose matches on Subject: below --
2003-04-15 18:07 Multiple Source Addresses Daniel Chemko
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=NABBJOOEOFODEALNMJAJEEJNIAAA.B-Morgan@concentric.net \
--to=b-morgan@concentric.net \
--cc=netfilter@lists.netfilter.org \
--cc=nicolas.keller@slb.de \
/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