From owner-freebsd-net@FreeBSD.ORG Fri Jan 27 18:54:36 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4CF216A420 for ; Fri, 27 Jan 2006 18:54:36 +0000 (GMT) (envelope-from julian@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4340243D55 for ; Fri, 27 Jan 2006 18:54:35 +0000 (GMT) (envelope-from julian@elischer.org) Received: from unknown (HELO [10.251.17.229]) ([10.251.17.229]) by a50.ironport.com with ESMTP; 27 Jan 2006 10:54:35 -0800 Message-ID: <43DA6C6A.7050701@elischer.org> Date: Fri, 27 Jan 2006 10:54:34 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.11) Gecko/20050727 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tiago Cruz References: <1138387362.4742.9.camel@localhost.localdomain> In-Reply-To: <1138387362.4742.9.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: Network client is the same from server X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2006 18:54:36 -0000 Tiago Cruz wrote: >Hi guys, > >Have some way, like some "ninjitsu" :) to make the connection that one >client that have the same network that us? Exemple: > >My corporate network: 192.168.0.0/22 >My house network: 192.168.0.0.24 > >Result: VPN don't work, because we have a address conflict. > >Thanks so much! > > you can use NATD to fix this but you will need to have "mapped" name for all teh machines on the other nets.. e,g on net 1 you will see the other net as being 192.168.128.x and on the other net you will see the first net as 192.168.128.x (or whatever you want) I have done it once but you will need to read the natd and libalias docs as it has been a long time since I did it. I also had a DNS spoofer that translated DNS requests between the two nets as needed. but That is long gone. (I have another one now but it is proprietary).