From: "Jörg Harmuth" <harmuth@mnemon.de>
To: netfilter@lists.netfilter.org
Subject: Re: DNAT to 127 fails
Date: Tue, 09 Aug 2005 12:20:12 +0200 [thread overview]
Message-ID: <42F8835C.6030709@mnemon.de> (raw)
In-Reply-To: <Pine.LNX.4.61.0508091150420.6879@yvahk01.tjqt.qr>
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
prev parent reply other threads:[~2005-08-09 10:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-05 9:44 DNAT to 127 fails Jan Engelhardt
2005-08-05 10:08 ` Jörg Harmuth
2005-08-09 9:51 ` Jan Engelhardt
2005-08-09 10:20 ` Jörg Harmuth [this message]
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=42F8835C.6030709@mnemon.de \
--to=harmuth@mnemon.de \
--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