From: Grant Taylor <gtaylor@riverviewtech.net>
To: Mail List - Netfilter <netfilter@vger.kernel.org>
Subject: Re: How to SNAT in PREROUTING table for local machine
Date: Thu, 19 Jun 2008 12:00:15 -0500 [thread overview]
Message-ID: <485A909F.1080808@riverviewtech.net> (raw)
In-Reply-To: <004a01c8d204$fb1022e0$1402a8c0@nemesisk7>
On 06/19/08 07:06, 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 might look in to trying to use bridging. Bridge the VPN
interface(s) and bind your service to the bridge interface. This would
allow you to use EBTables to alter traffic as it comes in to the system.
Another option would be to use some sort of proxy application (like
rinetd or socat) to accept the connections and then proxy them in to
your service. Your service would see all the connections as coming from
the rinetd daemon's IP but at least all your /8 systems would be able to
connect to the service.
Grant. . . .
next prev parent reply other threads:[~2008-06-19 17:00 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 [this message]
2008-06-20 10:22 ` Patrick McHardy
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=485A909F.1080808@riverviewtech.net \
--to=gtaylor@riverviewtech.net \
--cc=netfilter@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