Accessing OpenVPN client from different LAN subnet.
-
I've setup an OpenVPN Server with the idea of being able to to 'locally' screenshare with family members. The clients can connect no problem, but I cannot seem to vnc or even ping their machines.
LAN: 192.168.1.0/24
OpenVPN Client net: 192.168.5.0/24The client gets an IP. I have a rule to allow specific LAN computers to access the entire client net. Do I need to add any specific push routes to the openvpn server configuration or something else?
-
@jj5588 Yes, i believe so. Did you see the OVPN doc on this?
OpenVPN Docs (Find the section that applies to you, I think it is: "Including multiple machines on the client side when using a routed VPN (dev tun)") -
@jj5588
Basically you can access any client by its virtual IP. However, you have to allow the access on the clients firewall.But for your purposes you can savely circumvent this with a masquerading rule on pfSense.