netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jason Opperisano" <Jopperisano@alphanumeric.com>
To: netfilter@lists.netfilter.org
Subject: RE: ESP does not hit the nat table
Date: Sun, 1 Aug 2004 15:03:48 -0400	[thread overview]
Message-ID: <D5C9032B2B09C64EA2409D6214E91AC9051218@asimail2.alphanumeric.com> (raw)

> iptables -t nat -j DROP
>
> Will not block ESP traffic.

It's not a valid command, either.  In addition to specifying the table (-t nat) to act upon, you also need to specify a command and a chain to operate on; i.e.,

	iptables -t nat -A PREROUTING -j DROP

Not that I'm recommending the above rule, but it'll sure drop some traffic...

> On the other hand
>
> iptables -t filter -p 50 -j DROP
>
> will block ESP traffic.

Nope...

	iptables -A FORWARD -p 50 -j DROP
Or
	iptables -A INPUT -p 50 -j DROP
Or
	iptables -A OUTPUT -p 50 -j DROP

("-t filter" is assumed if no "-t" is specified)

<OT>
 Where is the new-found obsession with dropping packets in the NAT table coming from?
</OT>

-j


             reply	other threads:[~2004-08-01 19:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-01 19:03 Jason Opperisano [this message]
2004-08-01 22:28 ` [OT] Was: ESP does not hit the nat table Antony Stone
2004-08-02  8:03   ` Jozsef Kadlecsik
  -- strict thread matches above, loose matches on Subject: below --
2004-08-01 15:35 Kashyap Ashwin

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=D5C9032B2B09C64EA2409D6214E91AC9051218@asimail2.alphanumeric.com \
    --to=jopperisano@alphanumeric.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;
as well as URLs for NNTP newsgroup(s).