Sunday, January 29, 2006

Ultimate VNC Setup

Ultimate VNC Setup
January 27th, 2006 in Technology
VNC is a free (mostly) way to control another computer from somewhere else. But there are downfalls. VNC is not very secure. This tutorial will guide you through the steps of using two free programs to connect to another computer and do it securely. The programs are small , fast and not bloated like remote desktop. But this guide will also teach you how to setup encryption so no one will be able to get access to your computers.
The two programs we will be using are RealVNC and Hamachi. Hamachi is a tunneling app that lets you direct connect two computers. It bootstraps the connection and you get a new ip that displays up on the top of the application.
RealVNC is a small VNC application. They have paid versions but for this setup we only need the free version. So go download RealVNC free edition and Hamachi (freeware).
Now you need to install Hamachi first. It is recommended that you go to to get a secure key for using Hamachi. This way everything is encrypted.
It’s a good idea to install Hamachi on the host machine (the one you want to connect to) first. When you get the main menu it will ask for a name. Just put in your nickname or your real name. Then you will want to name the server. Name it whatever you want. It will then give you a unique ip that you will tunnel with. Write the IP down.
Now you need to setup your network. On the bottom left of the Hamachi window there is a button named Create or Join Networks. Click on it and select Create network. You will then name it. Then you need to put a key phrase in. The pass key MUST be from or another security key generating site. You don’t want someone cracking into your network.

Now you need to setup Hamachi on the computer that you will be connecting from. Anotherwards the pc at your work / school / other room that you will use to connect to your home pc from.
On that PC just setup a different username. Now you need to connect to the pc at your work / etc. Just select Join Existing Network.

That’s how you get Hamachi setup. You will now be direct connected to each other. It’s a good idea to plan how you will do this. You need to setup Hamachi and realvnc at home and get it right and then set it up at work. You should email yourself the Pass Phrase or write it down. Then delete it once its setup in Hamachi.
Now for RealVNC. Download it from the link above. Now install it on the “server” (on the pc at your work you need to install the viewer only). Just leave everything in the install default. Run the program and set it up. You need to create authentication.
Authentication in Real VNC is different then Hamachi. This is just a password you use to connect from your work to your home pc. This can be any password. It doesn’t matter because you will be doing it over a secure Hamachi connection.
Now on the server PC you need to turn Hamachi on and RealVNC. Write down the password for Real VNC and the Hamachi Pass Key.
On the PC at your work , etc , you need to download RealVNC but ONLY install Real VNC viewer.
Now you’re ready to get it working! Just open Hamachi at your work. Connect to the PC at home (make sure to use the Hamachi ip not yours! It’s the one with the encryption!).
Once that’s done and you log in with the long Pass Key you can open up Real VNC viewer. Put in the IP of your Home Pc (Hamachi ip) and click connect. It will then ask you for a password and enter the key you made for Real VNC.
All done! Now you can sys-admin over a secure Hamachi connection with a very secure pass key.