From LedHed's Wiki
Jump to: navigation, search

Ever wanted to work from home but you don't have VPN access?

Well Remote Desktop and a Reverse SSH Tunnel will do what you need in a pinch.

Work

You're at work and have a lot of work to do, but you would rather do it from home. Fire up Putty, and punch in your connection info for your home router. Then go to Connection -> SSH -> Tunnels [x] Local ports accept connections from other hosts [x] Remote ports do the same (SSH-2 only)

Source Port: 10000 Destination: localhost:3389

(x) Remote [ADD]


Home

Fire up RemoteDesktop Computer: <Router Internal IP>:10000

Blam Done!


Tip

On the work side, run top or a continuous ping to make sure the session stays alive.


References

http://www.dd-wrt.com/phpBB2/viewtopic.php?p=707798

http://www.dd-wrt.com/wiki/index.php/SSH#Remote_Port_Forwarding