I'm trying to get a remote desktop connection over VPN to work. The VPN connection authenticates fine, and the (Microsoft) RDC client gives an error about the machine being unavailable. The kicker is this was previously working for a day, only after I mucked about with the routing table for a few hours. (This is on a Mac, so it wasn't perhaps as seamless as Windows may be on this occasion)
To explain, when researching my initial problem I came across this forum post, which answered a similar question - by manually adding routing entries. Essentially, the solution provided was:
sudo route add -host [IP of target machine inside VPN] [IP given to you by the VPN]
This didn't work right off the bat, but I kept throwing numbers at it, and it eventually worked. You may have gathered that, although I have a rough understanding of gateways, I'm unfamiliar with mucking about with router tables. And I'm unsure why it started working, and why it stopped...
So, we have the following IPs:
- Internal home network - 192.168.1.2
- Assigned to me, for the VPN connection - 22.214.171.124 (with router 126.96.36.199)
- Machine I'm trying to remote to - 188.8.131.52
I'm using the Microsoft Remote Desktop Connection For Mac app, and the built-in VPN link.
Ping can resolve DNS names of machines on the company network fine (e.g. machine01.company.local -> 184.108.40.206), but doesn't return the ping. Nor does a ping to my IP, or the router.
- What tools should/can I use to debug the router hops to see what link is missing?
- Any clues as to which IP gap it is that likely needs to be filled?