I'm a newbie to tunneling and can't figure this one out. I have an externally available computer, let's call it example.com, which is Unix. In its internal network there is a Windows machine I want to access, with an internal ip, let's use 192.168.1.144. I need to tunnel into example.com in order to RDP into 192.168.1.144. How can I achieve this?
closed as off-topic by growse, Ward, mdpc, Nathan C, Falcon Momot Sep 5 '13 at 13:05
This question appears to be off-topic. The users who voted to close gave this specific reason:
You want to use SSH tunnelling, like Nathan C said in his comment. The guides assume you're tunnelling to the computer you're connecting to, but only because those guides use 'localhost' as the foreign host name. Try something like this from your home machine:
ssh -Nf email@example.com -L 8080:192.168.1.144:[RDP-port]
I'm not sure what the port number is for RDP, so I had to leave that unreplaced. Once you execute this command (with the proper port number for "RDP-port"), it should background and you should be able to RDP to "localhost:8080" from your home machine and end up talking to the Windows machine on the inside.