Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2006 09:46:14 -0200
From:      Tiago Cruz <tiagocruz@b4br.net>
To:        Julian Elischer <julian@elischer.org>
Cc:        "freebsd-net@FreeBSD.org" <freebsd-net@FreeBSD.org>
Subject:   Re: Network client is the same from server
Message-ID:  <1138621574.18130.26.camel@localhost.localdomain>
In-Reply-To: <43DA8E70.2070804@elischer.org>
References:  <1138387362.4742.9.camel@localhost.localdomain> <43DA6C6A.7050701@elischer.org> <1138390041.4742.19.camel@localhost.localdomain> <43DA8E70.2070804@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

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!	

-- 

Tiago Cruz
http://linuxrapido.org
Linux User #282636

"The box said: Requires MS Windows or better, so I installed Linux"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1138621574.18130.26.camel>