[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Rules to do VPN works when the host and client have the same network address

Hi guys,

I'm using the OpenVPN in my net but, if my mobile client
was in one network like me, the VPN will not work.

I've founded 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 -j NETMAP --to

Is this what I want!!! But... how can I do this in PF/FreeBSD?

For more information, please:

Thank you!