[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
I'm using the OpenVPN in my net 192.168.0.0/22 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 192.168.0.0/24 -j NETMAP --to
Is this what I want!!! But... how can I do this in PF/FreeBSD?
For more information, please: