From: Patrick McHardy <kaber@trash.net>
To: mikemcquen@comcast.net
Cc: coreteam@netfilter.org,
Netfilter Development Mailinglist
<netfilter-devel@vger.kernel.org>
Subject: Re: [netfilter-core] 1.3.6 and newer disallows IP ADDRESS argument to REDIRECT
Date: Mon, 23 Jun 2008 18:21:51 +0200 [thread overview]
Message-ID: <485FCD9F.8010102@trash.net> (raw)
In-Reply-To: <062320081433.10930.485FB42B0002149300002AB22209224627020A9A9E0C030A050703@comcast.net>
Please post questions like this to netfilter-devel.
mikemcquen@comcast.net wrote:
> why?
> There is no longer a mechanism for doing this:
>
> iptables -t -nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 443 -j REDIRECT --to 1.1.1.1
>
> I just replaced a bunch of proxy machines and my config no longer works!
This was never supported, REDIRECT always choses the
first IP from the incoming device.
My guess is that you either used DNAT before or the
argument parser used to be less strict and ignored
unknown arguments.
parent reply other threads:[~2008-06-23 16:21 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <062320081433.10930.485FB42B0002149300002AB22209224627020A9A9E0C030A050703@comcast.net>]
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=485FCD9F.8010102@trash.net \
--to=kaber@trash.net \
--cc=coreteam@netfilter.org \
--cc=mikemcquen@comcast.net \
--cc=netfilter-devel@vger.kernel.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