Link to home
Start Free TrialLog in
Avatar of jfranco123
jfranco123

asked on

OPENVPN remote DESKTOP TO OTHER MACHINES

I have finally gotten my openvpn configured. I am able to RDP into the machine running openvpn server but none of the other machines on the network.  any ideas?
Avatar of jimmyray7
jimmyray7
Flag of United States of America image

You need to push the route to the network to your clients.  Add the following to your server.conf:

push "route 192.168.0.0 255.255.255.0"

where 192.168.0.0 is your LAN network and 255.255.255.0 is your subnet mask.

Avatar of jfranco123
jfranco123

ASKER

I tried that.  The ip I should be putting in is the gateway correct?  if so it does not work
No, not the gateway, the network address.  So if your IP addresses are 192.168.99.1-254 with at 255.255.255.0 subnet mask, you would enter:

push "router 192.168.99.0 255.255.255.0"

The PCs on your LAN also need to know how to reach the OpenVPN clients.  This can be done on your default gateway or router by adding a route for your OpenVPN network.
tried both of those didnt work
ASKER CERTIFIED SOLUTION
Avatar of jimmyray7
jimmyray7
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I added a route in the routing table of our router