Route from Server LAN to Client LAN
-
Hi,
I have an OpenVPN peer-to-peer (sight-to-sight) VPN configured and functioning properly.
Interface IPs
The Server side WAN and LAN:
WAN 192.168.96.10
LAN 192.168.95.2Client side WAN and LAN:
WAN 10.0.0.2
LAN 192.168.1.1Long story short. the Server has an external, routeable IP which forwards all traffic to the 192.168.96.0/24 network.
The VPN is up and working well, except I can't get from the server LAN 192.168.95.0/24 to the 192.168.1.0/24 network.
Assuming there should be a route or NAT somewhere, additionally?
Or do I need to add a route on the client devicese on the Client LAN?
any help is greatly appreciated.
Thanks.
-
The route should be set by OpenVPN. But both OpenVPN endpoint, client and server, have to be the default gateway in their respective LAN network.
To do so, in the server settings you have to enter the clients LAN (192.168.1.0/24) into the "IPv4 Remote Network/s" box.
In the cient settings you will find a box with the equal name where you have to enter the server side LAN (192.168.95.0/24).