From: Ray Leach <raymondl@knowledgefactory.co.za>
To: Drew Einhorn <drew.einhorn@starband.net>
Cc: Netfilter Mailing List <netfilter@lists.netfilter.org>
Subject: Re: vpn between networks with private ip network segment conflicts
Date: 28 May 2003 08:37:48 +0200 [thread overview]
Message-ID: <1054103867.13296.103.camel@raylinux.internal> (raw)
In-Reply-To: <1054056892.1837.85.camel@lo>
[-- Attachment #1: Type: text/plain, Size: 1662 bytes --]
On Tue, 2003-05-27 at 19:34, Drew Einhorn wrote:
> Oooo ... I was afraid that was going to be the answer.
>
> I'll wait a bit and see if someone has a better idea before starting
> in on renumbering a network.
>
> On Tue, 2003-05-27 at 10:30, Ray Leach wrote:
> > On Tue, 2003-05-27 at 18:03, Drew Einhorn wrote:
> > > My LAN uses network segments 192.168.0.0/24, 192.168.1.0/24, etc.
> > > So does the remote network I need to vpn to (probably using some flavor
> > > of pptp).
> > >
> > > Is there an odd nat variant that will solve this problem.
> > > Probably need to do some kind of dns transformation on each side.
> > >
> > > Is there any easy solution. Perhaps it would be easier (but not easy)
> > > to get the network segments renumbered on one end or the other.
> >
> > Oooo ... I would go with the second option. Get one end renumbered.
Yes.
I had another thought (those are rare for me)
What if you created a network between the two networks. Like this:
Net1 <-> VPN (CIPE) <-> New NET <-> VPN (CIPE) <-> Net2
Then your routing would be to the new network.
Maybe use some kind of NAT rules to map the new net back to the dest
net. For example:
Net1.host1 (192.168.0.1) wants to connect to net2.host1 (192.168.0.1)
He actually connects to 10.0.0.1 and the VPN/Router1 does a SNAT to its
IP.
VPN/Router2 does a DNAT for the traffic from 10.0.0.1 back to
192.168.0.1
VPN/Router1 has to have a route for 10.0.0.1 pointing to VPN/Router2
Do the same on the other side.
I was thinking of something along the lines of the P-O-M 1:1 NAT patch.
Does this make sense, and might it work?
Ray
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-05-28 6:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-27 16:03 vpn between networks with private ip network segment conflicts Drew Einhorn
2003-05-27 16:30 ` Ray Leach
2003-05-27 17:34 ` Drew Einhorn
2003-05-28 6:37 ` Ray Leach [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-05-27 22:13 George Vieira
2003-05-28 6:48 George Vieira
2003-05-28 8:32 dtrott
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=1054103867.13296.103.camel@raylinux.internal \
--to=raymondl@knowledgefactory.co.za \
--cc=drew.einhorn@starband.net \
--cc=netfilter@lists.netfilter.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