Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have my PC in LAN at work (PC-WORK 192.168.1.x) and a SSH server with one interface looking at LAN (PC-SSH 192.168.1.xx) and WAN (88.88.88.88)

What I need is to get Remote Desktop to PC-WORK from home(PC-HOME).

How can I make it using Putty? What I made is I created a tunnel from my PC-WORK(192.168.1.x) to SSH server, so that it listens:

#lsof -i -nP | grep 3390
sshd  18598   root   11u  IPv4 592868957   TCP 127.0.0.1:3390 (LISTEN)

and redirects localhost:3333 to my PC:3389.

What's the next step?

share|improve this question

closed as off topic by EEAA, Zoredache, Ward, MadHatter, kce Jan 8 '13 at 21:53

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

You need to connect by Putty and forward local port 3333 to PC-WORK:3390: Connection->SSH->Tunnels; Source port - 3333; Destination - PC-WORK:3389. Press 'Add'

share|improve this answer
    
but don't i need to make a tunnel to PC-SSH from home first? i think have already done what you wrote –  epema Jan 8 '13 at 18:53
1  
So, just connect to Start-Run-"mstsc /v:localhost:3333" –  dchirikov Jan 8 '13 at 19:00
    
Ok i finally got it: PCWORK: R6333 localhost:3389 Remote ipv4 PCHOME: L3336 212.154.169.42:6333 Local ipv4 mstsc /v:127.0.0.1:3336 –  epema Jan 10 '13 at 3:00

Not the answer you're looking for? Browse other questions tagged or ask your own question.