From: Grant Taylor <gtaylor@riverviewtech.net>
To: Mail List - Netfilter <netfilter@vger.kernel.org>
Subject: Re: NAT rule
Date: Wed, 16 Jul 2008 12:19:41 -0500 [thread overview]
Message-ID: <487E2DAD.9040806@riverviewtech.net> (raw)
In-Reply-To: <alpine.LNX.1.10.0807161850580.32031@fbirervta.pbzchgretzou.qr>
On 07/16/08 11:54, Jan Engelhardt wrote:
> iptables -t nat -A POSTROUTING -m policy --dir out --mode tunnel
> --tunnel-dst <realip of vendor> -j NETMAP --to 192.168.101.0/24
> iptables -t nat -A PREROUTING -m policy --dir in --mode tunnel
> --tunnel-src <realip of vendor> -j NETMAP --to 192.168.10.0/24
How does this take in to account that there is very likely an IP address
conflict between the local side of the VPN and the remote side of the
VPN? I'm very much afraid that the local server will just try to talk
to a local IP thinking that it is replying directly back to the original
client.
Grant. . . .
next prev parent reply other threads:[~2008-07-16 17:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-16 16:12 NAT rule Michael Crider
2008-07-16 16:54 ` Jan Engelhardt
2008-07-16 17:19 ` Grant Taylor [this message]
2008-07-16 17:25 ` Jan Engelhardt
2008-07-16 18:49 ` Grant Taylor
2008-07-16 17:18 ` Grant Taylor
2008-07-16 17:26 ` Grant Taylor
-- strict thread matches above, loose matches on Subject: below --
2008-07-16 19:22 Michael Crider
2008-07-16 19:31 ` Grant Taylor
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=487E2DAD.9040806@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