Date: Mon, 30 Jan 2006 10:51:28 -0800 From: Julian Elischer <julian@elischer.org> To: Tiago Cruz <tiagocruz@b4br.net> Cc: "freebsd-net@FreeBSD.org" <freebsd-net@FreeBSD.org> Subject: Re: Network client is the same from server Message-ID: <43DE6030.4090702@elischer.org> In-Reply-To: <1138621574.18130.26.camel@localhost.localdomain> References: <1138387362.4742.9.camel@localhost.localdomain> <43DA6C6A.7050701@elischer.org> <1138390041.4742.19.camel@localhost.localdomain> <43DA8E70.2070804@elischer.org> <1138621574.18130.26.camel@localhost.localdomain>
next in thread | previous in thread | raw e-mail | index | archive | help
Tiago Cruz wrote: >On Fri, 2006-01-27 at 13:19 -0800, Julian Elischer wrote: > > > >>it is definitly possible >>but you will have to do some reading >>natd can do it. >> >> it should be in the natd man page.. (or libalias page) > >I found this in the OpenVPN FAQ: > >================ >Does anybody know how to remap local addresses, if I want to connect two >networks with an overlap in the private address range? >Using iptables 1.2.7a+ and the NETMAP target: > > > iptables -t nat -A PREROUTING -d 192.168.0.0/24 -j NETMAP --to 192.168.1.0/24 > >================ > >Is this what I want!!! >But.... how can I do this in PF/FreeBSD? > >Thank you! > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43DE6030.4090702>