ip mapping in openvpn network
Hello all,
I have connected two office through openvpn using openwrt. Is it possible to map Office B LAN ip to Office private A LAN IP? My network scenario is:
Office A
Public IP: 202.XX.XXX.10
Lan IP: 192.168.1.1
MAP IP: 192.168.1.2
Office B
Public IP: 202.XX.XXX.11
LAN IP: 192.168.2.1
Desktop PC: 192.168.2.2
Now I have job to map Office B desktop PC ip 192.168.2.2 to 192.168.1.2. so that when I want to access 192.168.2.2 computer I can telnet 192.168.1.2 ip instead of 192.168.2.2. Is is possible with with iptables rules?
|