Cyber-Knowledge.net Computer related blog

19Jul/06

Connect to your home PC from anywhere - free.

Services like GotoMyPc are expensive, and not worth the cost. This tutorial is a free, and easy alternative.

What this tutorial will cover:

This tutorial will teach you how to connect to your home PC from any remote location, using a secure tunnel. This tutorial is designed to get passed school/work filtering systems, and will work on nearly ALL systems.

Materials you will need:

FreeSSHd - Free SSH server for windows, that allows you to make tunnels. (Download)
PuTTy - Simple SSH/Telnet client (Download)
Real VNC The VNC client/server we'll be using (Download)
A broadband connection.
A computer that is on during the time of use. Doesn't have to be a server just any old computer will do.

Getting started: Installing and configuring the SSH server.

  1. Install FreeSSHd. When a message box asks if you want to create private keys, click "Yes". Also you should really start it as a service. This makes it start when your computer is on, whether you're logged in or not. This is a better option because there is nothing worse than getting to school and saying "Oh shit I rebooted last night, no games today :(".
  2. Open the SSH control panel which should be in your task bar if you installed it as a service. You have a couple options here:
    • Keep the default port, because you're using it for fairly legit purposes, and don't need to bypass any filtering systems in place at your school or work.
    • Change the port to the universal SSL port 443, which will almost never be blocked anywhere. This is because when you login to websites you're using "https://" which is port 443. On Firefox the bar will be yellowish when you're using SSL. In this example we will use port 443.
    • SSH Ports

  3. Next step is to add a user. Use the options I have used. SFTP is for secure file transferring, you can un-check this if you feel it's not needed.
  4. Add A User

  5. Now you'll need to enable tunneling, as follows:
  6. Tunnel Setup

Session 1 Notes: If you're behind a router, you'll need to port forward. I will not discuss this in detail because there are so many different routers out there. There are plenty of tutorials on how to do this.

Next: Installing and configuring the Real VNC server.

  1. Now install Real VNC, the default install options should work fine.
  2. When you open it, the first screen asks you to configure password. Just choose no password, as it is pointless in the way we're using it.
  3. Click the connections tab, and set it up as follows:
    VNC Ports
  4. Note: The java port is fully optional. If you want to be able to view your computer via web browser, then leave this option checked. If you rather do it via Real VNC client, then uncheck this option.

Lastly: Configuring PuTTy to make the connection (Remote PC).

  1. Open up PuTTy, there is no installer. Set the hostname/IP Address to the computer at home, that you are trying to connect to. I use a sub domain of cyber-knowledge.net to do this. You can use services like No-IP to do this. You could also simply remember all four octets of your IP address that most likely changes daily;). The port of course is 443 if you used my suggestions, if you didn't it's the default SSH port (22). Remember anything in this section is done on the computer at work or at school.
  2. Click on "Tunnels", and fill in the details as I have.
  3. PuTTy Tunnels

  4. Click open and use the login credentials you've specified when setting up FreeSSHD.
  5. PuTTy

  6. Open up the VNC viewer which came with the installer. Use host 127.0.0.1, and boom you're in.

Session 3 Notes: If you used the java app option instead of the Real VNC viewer, you'll need to change the port to 5800 instead of 5900. Also as this PuTTy process can get repetitive they have a feature to save it. Once you have all the information in putty click the "Session" tab, name your connection and click "Save". To access the java app it's http://localhost:5800 in your web browser.

Other thoughts

In foreign exchange, using a mortgage calculator is of ultimate importance if you are involved in any sort of online trading. This is what forex keeps insisting on, even for payday loans. This is called developing killer habits for stock brokerage.

Print Post
Comments

No comments yet.

Leave a comment