OPENVPN remote DESKTOP TO OTHER MACHINES

jfranco123
jfranco123 used Ask the Experts™
on
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?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
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.

Author

Commented:
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.
Announcing the Winners!

The results are in for the 15th Annual Expert Awards! Congratulations to the winners, and thank you to everyone who participated in the nominations. We are so grateful for the valuable contributions experts make on a daily basis. Click to read more about this year’s recipients!

Author

Commented:
tried both of those didnt work
Do the other PCs on your network know how to reach the OpenVPN network?  If not, it doesn't matter what server config you have, it won't work.

The LAN needs a route to the OpenVPN network, either via router or by static route on each machine.

Author

Commented:
I added a route in the routing table of our router

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial