From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jason Opperisano" Subject: RE: ESP does not hit the nat table Date: Sun, 1 Aug 2004 15:03:48 -0400 Sender: netfilter-admin@lists.netfilter.org Message-ID: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: Content-class: urn:content-classes:message Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org > 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) Where is the new-found obsession with dropping packets in the NAT table = coming from? -j