OpenVPN - Client cannot be accessed from LAN

Associate
Joined
20 May 2006
Posts
1,068
I've recently setup an OpenVPN server (downloaded the pre-packaged VHD and use it with Hyper-V).

I can connect remotely from the OpenVPN client fine, and ping/access all the computers on the network from the remote client. However, I cannot ping or access the remote client from any of the computers on the LAN.

I'm assuming this is because the OpenVPN server is acting as a gateway, and has access to the 192.168.x.x range and also the 172.x.x.x range it uses for the remote clients?

How can I easily fix this, without amending settings on all of the machines on the network?
 
If I read it correctly, its a rooting issue.

On your LAN router add a static route:
Destination Subnet; GW-VPN server IP

i.e 10.0.6.0; 192.168.99.101

Which tells the router to route all 10.0.6.0 to your VPN server on IP 192.168.99.101, where 10.0.6.0 is the subnet on which your VPN client resides.

You may have to open some firewall rules to allow ICMP packets to pass through your VPN server.
 
Back
Top Bottom