From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?J=F6rg_Harmuth?= Subject: Re: DNAT to 127 fails Date: Tue, 09 Aug 2005 12:20:12 +0200 Message-ID: <42F8835C.6030709@mnemon.de> References: <42F33A8C.9060905@mnemon.de> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org Jan Engelhardt schrieb: >>"-j DNAT" is not intended to DNAT to localhost. The REDIRECT target is >>for this. From "man iptables": > > > I guess this has to do with the recent 2.6.11->12 change that there is no more > implicit SNAT on -j DNAT, right? (Before, -j REDIRECT --to-ports ports was > equal to -j DNAT --to-dest 127.0.0.1:ports) Don't know, but with my 2.4.31 it doesn't work too (maybe a backport ?). Only -j REDIRECT works. Have a nice time, Joerg