Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Athanasius <Athanasius@miggy.org>
To: Netfilter Users <netfilter@lists.netfilter.org>
Subject: Re: Trying to setup two ethernet cards with two websites
Date: Thu, 2 Jan 2003 20:36:57 +0000	[thread overview]
Message-ID: <20030102203657.GD10404@miggy.org> (raw)
In-Reply-To: <se1459fa.075@butchers.com>

[-- Attachment #1: Type: text/plain, Size: 691 bytes --]

On Thu, Jan 02, 2003 at 03:25:21PM -0500, JUSTIN GERRY wrote:
> (For example, I will drop anything claiming to be from a Class A
> Private Network on either interface)
> iptables -A INPUT  -i $IF1 -s $CLASS_A -j DROP
> iptables -A INPUT  -i $IF2 -s $CLASS_A -j DROP
> 
> can be written in one line as:
> iptables -A INPUT -s $CLASS_A -j DROP

  Yes, any field like -i or -s or -d when NOT specified defaults to
'any'.

-Ath
-- 
- Athanasius = Athanasius(at)miggy.org / http://www.miggy.org/
                  Finger athan(at)fysh.org for PGP key
	   "And it's me who is my enemy. Me who beats me up.
Me who makes the monsters. Me who strips my confidence." Paula Cole - ME

[-- Attachment #2: Type: application/pgp-signature, Size: 240 bytes --]

  reply	other threads:[~2003-01-02 20:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-02 20:25 Trying to setup two ethernet cards with two websites JUSTIN GERRY
2003-01-02 20:36 ` Athanasius [this message]
2003-01-02 21:40 ` Rob Sterenborg
2003-01-03 12:23 ` Roy Sigurd Karlsbakk
  -- strict thread matches above, loose matches on Subject: below --
2003-01-02 14:49 JUSTIN GERRY
2003-01-02 15:21 ` Joel Newkirk
2003-01-03 12:23   ` Roy Sigurd Karlsbakk
2003-01-03 16:25     ` Joel Newkirk
2002-12-31 16:29 JUSTIN GERRY
2002-12-31 18:49 ` Roy Sigurd Karlsbakk

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=20030102203657.GD10404@miggy.org \
    --to=athanasius@miggy.org \
    --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