From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Taylor Subject: Re: NAT rule Date: Wed, 16 Jul 2008 12:19:41 -0500 Message-ID: <487E2DAD.9040806@riverviewtech.net> References: <487E1DF3.1090203@hoecoop.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Mail List - Netfilter On 07/16/08 11:54, Jan Engelhardt wrote: > iptables -t nat -A POSTROUTING -m policy --dir out --mode tunnel > --tunnel-dst -j NETMAP --to 192.168.101.0/24 > iptables -t nat -A PREROUTING -m policy --dir in --mode tunnel > --tunnel-src -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. . . .