From mboxrd@z Thu Jan 1 00:00:00 1970 From: Willy Tarreau Subject: Re: NAT before IPsec with 2.6 Date: Sat, 24 Jan 2004 09:22:52 +0100 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <20040124082252.GA19035@alpha.home.local> References: <200401230751.40618.teastep@shorewall.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Henrik Nordstrom , Michal Ludvig , netfilter-devel@lists.netfilter.org Return-path: To: Tom Eastep Content-Disposition: inline In-Reply-To: <200401230751.40618.teastep@shorewall.net> Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org Hi, On Fri, Jan 23, 2004 at 07:51:40AM -0800, Tom Eastep wrote: > I'm concerned that passing the unencrypted packet through POSTROUTING > apparently makes it impossible for firewall rules to enforce encryption to a > remote host or network. > > It's my opinion that when the ipsec devices where eliminated, the baby got > thrown out with the bath water. That was my point too. Even if the packet is only encapsulated, from an IP point of view, this is a completely new locally generated packet, and we need to be able to apply filtering before and after encapsulation. Willy