Wednesday, May 23, 2012

Accessing Home PC - Part 6

This is a 6-part discussions designed to help maximize resources on your home PC.We will show you how to turn on home PC remotely, establish a secure tunnel, remote control home PC, or see your home webcam.Remember, there are always alternative, I’m here to share with you my experience.


How to remote control your home PC

Scenario:  I need to photo touch some pictures using the software on my home PC.  Any way I can operate my home PC remotely…..

Windows XP or Windows 7 provides a native remote control software called Remote Desktop.  With PuTTY service, we can redirect all Remote Desktop traffic to any remote PC through SSH protocol.  It is very secure and clean solution with no additional ports need to be opened on your router.

From command line shell enter the following command:

  • -D 8080: proxy port for your browser as described in previous section
  • -L 689:192.168.1.4:3389: route all traffics on local port 689 to a remote server 192.168.1.4 port 3389.
  • -P 443: port on your router
  • -ssh myhome.hoptp.org: ssh to your home PC using DNS
Port 3389 is the default Remote Desktop port and is used by your home PC to listen to any Remote Desktop requests. 

Once the SSH session is established, you can launch the Remote Desktop program from Start menu/Run and type in MSTSC.exe:

  • Computer: enter 127.0.0.1:689

As you can see, the Remote Desktop is trying to connect a server resides on port 689 on 127.0.0.1.  This will be intercepted by PuTTY and redirected to your home PC and directed to the server 192.168.1.4 on your home network.

Alternatively, with GUI version of PuTTY, you can configure as follow:

  • Source port: local port to be redirected
  • Destination: home PC IP and port
  • Local: check this box
  • Auto: check this box
Click Add to add this new tunnels in your PuTTY and save the session.  This accomplishes the same way as explained in the command line version of PuTTY.  That’s all for remote controlling your home PC.


NOTE: Don’t enable any remote management on your router.  You can remote desktop into your home PC then browse into your router for any configuration changes.   This approach can limit any unnecessary port opening on your router.


No comments:

Post a Comment