creating proper vpn tunnel, when both LANs have the same addressing

Posted by meta on Server Fault See other posts from Server Fault or by meta
Published on 2012-10-11T23:11:46Z Indexed on 2012/10/12 3:38 UTC
Read the original article Hit count: 437

Filed under:

I was following this tutorial http://wiki.debian.org/OpenVPN#TLS-enabled_VPN and this one http://users.telenet.be/mydotcom/howto/linux/openvpn.htm to create openvpn connection to my remote LAN.

But both examples assumed that both LANs have different addresses (ie 192.168.10.0/24 and 192.168.20.0/24, check out this image i.stack.imgur.com/2eUSm.png).

Unfortunately in my case both local and remote lan have 192.168.1.0/24 addresses. I am able to connect directly on the openvpn server (I can ping it and log in with ssh), but I can't see other devices on the remote LAN (not mentioning accessing them via browser which was the point from the first place). And don't know if the addressing issue may be the reason of that? If not - how to define routes, so I could ping other devices in remote LAN?

© Server Fault or respective owner

Related posts about openvpn