From: Wayne Schroeder Subject: Re: Problem when writing a custom target for PRE and POST routing. Date: Mon, 25 Sep 2006 16:51:24 -0500 Message-ID: <45184F5C.4010008@positivenetworks.net> References: <45184BB7.8000102@positivenetworks.net> <45184EA0.7030602@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: netfilter-devel@lists.netfilter.org Return-path: To: Carl-Daniel Hailfinger In-Reply-To: <45184EA0.7030602@gmx.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org It's actually gone in later 2.4 as well iirc, and we're moving to 2.6 so netfilter is the correct platform for my project moving forward. Wayne Carl-Daniel Hailfinger wrote: > Wayne Schroeder wrote: > >>I am working on a target module that will rewrite the source, dest, and >>mark of a packet. A project I am doing cannot use the stateful nat for >>a few reasons. > > > Not directly answering your question, but IIRC in Linux 2.4 it was > possible to do stateless NAT with iproute2. That functionality has > been removed in Linux 2.6 because something broke. > http://lists.netfilter.org/pipermail/netfilter/2005-February/058950.html > http://linux-ip.net/html/nat-stateless.html > > However, if you really want to perform stateless NAT with 2.6 kernels > and netfilter, the links above won't help you. > > Regards, > Carl-Daniel