From: Patrick McHardy <kaber@trash.net>
To: Tobias Krummen <tobias.krummen@t-online.de>
Cc: netfilter@vger.kernel.org
Subject: Re: How to SNAT in PREROUTING table for local machine
Date: Fri, 20 Jun 2008 12:22:50 +0200 [thread overview]
Message-ID: <485B84FA.9080204@trash.net> (raw)
In-Reply-To: <004a01c8d204$fb1022e0$1402a8c0@nemesisk7>
Tobias Krummen wrote:
> So, is there a way to change the source ip-address of incoming packets
> with the given possibilities of netfilter, or are there other tools to
> get this done?
You need to add an INPUT chain to the NAT table to do this
and adjust the HOOK2MANIP macro to deal with this.
next prev parent reply other threads:[~2008-06-20 10:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-19 12:06 How to SNAT in PREROUTING table for local machine Tobias Krummen
2008-06-19 17:00 ` Grant Taylor
2008-06-20 10:22 ` Patrick McHardy [this message]
2008-06-20 10:58 ` Jan Engelhardt
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=485B84FA.9080204@trash.net \
--to=kaber@trash.net \
--cc=netfilter@vger.kernel.org \
--cc=tobias.krummen@t-online.de \
/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