How do I transform a LAN subnet to another? (VPN)

Posted by Krishath on Server Fault See other posts from Server Fault or by Krishath
Published on 2013-07-03T11:00:34Z Indexed on 2013/07/03 11:07 UTC
Read the original article Hit count: 129

Filed under:
|

I've set up a VPN with a LAN behind it. VPN : 10.2.1.X LAN : 192.168.1.X

When I connect from outside where the router via DHCP assigns me a similar IP to my "original LAN" (192.168.1.X) everything starts to be messed up. I can't route my traffic through the VPN and (obviosly) I can't reach my "real" LAN behind my VPN. How can I always reach my LAN? I thought that I can fake my LAN subnet to something like "10.2.2.X" to those PCs out of my VPN but in this way my VPN server should translate 10.2.2.X to 192.168.1.X (locally).[Is this S/D-NAT?] Is this possible? How can I accomplish that?

Thank you very much!

© Server Fault or respective owner

Related posts about vpn

Related posts about lan