Log in to check your private messages 
Username: Password:   
  HELPLINEDIRECT
  Computer Related Discussions:
Index  FAQ  Search  Memberlist  Usergroups  Profile  Join! (free)

Hamachi:
Jump to:  
Post new topic   Reply to topic    HELPLINEDIRECT Forum Index » Remote Access:
Author Message
Please Register and Login to this forum to stop seeing this advertising.





Posted:

Gadgetman496
Site Admin


Joined: 11 Nov 2008
Posts: 88


Location: Galway, Ireland
PostPosted: Sun Nov 23, 2008 11:08 pm  Reply with quote

Hamachi (from Logmein)

Note: Hamachi differs from all the other mentioned programs in that it does not offer "Remote Control" but is ideally suited to gamers for playing games over LAN.

What is it then?:
With Hamachi you can organize two or more computers with an Internet connection into their own virtual network for direct secure communication. Hamachi is fast, secure and simple. It is also free.

What can it do for me:
Think - LAN over the Internet.
Think - Zero-configuration VPN.
Think - Secure peer-to-peer.

Access computers remotely. Use Windows File Sharing. Play LAN games. Run private Web or FTP servers. Communicate directly. Stay connected.

Technology:
Hamachi is a zero-configuration virtual private networking application with an open security architecture and NAT-to-NAT traversal capabilities.

Hamachi is the first application to mix seemingly unrelated networking technologies in one powerful package to deliver an unprecedented level of peer-to-peer connectivity.

Security:
Hamachi is secure. All Hamachi communications are encrypted and authenticated with industry-standard algorithms and protocols. Nobody will be able to see what two Hamachi peers are talking about. Not even us.

However what is equally important - Hamachi security architecture is completely open, meaning that its detailed description is available for the review to anyone interested.

Ease of Use:
A special effort went into designing and polishing Hamachi user interface. The result is sleek, simple and intuitive, while still very much functional. Everything you need, nothing you don't.

Hamachi software contains no spyware, bannerware or any other -ware unrelated to its purpose. And it never will.

Where Can I Get It?
Hamachi can be downloaded from Logmein's secure server HERE:

Setup couldn't be easier, just run the setup file you downloaded (HamachiSetup-1.0.X.X-en.exe) and follow the onscreen prompts (see pictures below).

Caution: It would be advisable to set a strong password for your Network.
You could use a secure password generator such as THIS: to secure your Network.

Step 1:


Step 2:


Step 3:


Step 4:


Step 5:


The Simple Control Panel:



Once you have installed Hamachi on all the computers you plan on using, you will need to click the button to “Join existing network” on all the other PCs. Enter your network name and password and click “Join”. Once it detects the the other computers it will place a green dot next to their entry in the list. You should then be able to access network shares and remote desktop or VNC into the computers. Use the assigned 5.X.X.X IP address to access each computer. One limitation of Hamachi is that you cannot currently use the program to securely surf the net from a remote location without using some kind of remote control app. Another program called OpenVPN is much better suited for that and other advanced routing tasks (But that's for another day  Wink )



Running Hamachi as a Windows service:

It is highly recommended (but totally optional) that you run Hamachi as a Windows service. It takes a little more effort, but here’s how you do it.

You need two utilities - instsrv.exe and srvany.exe. Both can be found in the Windows Server Resource Kits. You can find the Windows 2003 Server Resource Kit here. But it is rather large and won’t install on Pre-XP Windows machines. So you might be better off doing a Google search for a site like this.

Once you have these utiltites, copy them into your Hamachi directory. (I’m going to assume that you used the default directory from here on out.)

Go to Start - Run - and type cmd to open the Command Prompt

Type these commands in order and hit enter after each:


cd C:\Program Files\Hamachi\
instsrv AutoHamachi “c:\program files\hamachi\srvany.exe”
This will add Hamachi as an available service in Windows.


Edit the Registry:

Then you need to edit the registry to run the service properly. Add one of the following entries according to your Windows version.

For Windows 2000:

(Win2000HamachiServiceConfig.reg) - Click, Save, or Run.


HKLM\SYSTEM\CurrentControlSet\Services\AutoHamachi\Parameters
Application = c:\\program files\\hamachi\\hamachi.exe
AppDirectory = c:\\program files\\hamachi\\
AppParameters = -srvany


For Windows XP / 2003:

(WinXPHamachiServiceConfig.reg) Click, Save, or Run.


HKLM\SYSTEM\CurrentControlSet\Services\AutoHamachi\Parameters
Application = c:\\program files\\hamachi\\hamachi.exe -srvany
—————————

UPDATE:
With the new version 1.0.0.45 the above registry keys have an additional command to point the service to the correct profile. Instead of simply the -srvany you need to add a -config tag followed by the file path to it. By default the config file will have the path:

C:\Documents and Settings\_your_user_name_\Application Data\Hamachi

So for the new version you will have a string like this:

-srvany -config “C:\Documents and Settings\Administrator\Application Data\Hamachi”
Note: Don’t forget the quotes around the file path and replace “Administrator” with your username.

With the later version you can now skip ahead to the “Configure the service” section below.

—————————

Next you need to copy the user profile data you created during the installation from the current Windows user to the default system user in the registry. This needs to be done so that when Hamachi runs as a service it will have access to the info needed be able to connect to the virtual network you created. There is several ways to copy the necessary registry data from one area to another, but this is the only way that I have found that works on all versions of Windows.

Go to Start - Run - and type regedit and click OK to open up the regsistry editor.

Navigate to:

HKEY_CURRENT_USER\Software\Applied Networking
In the top menu go to File (or Registry in server version) - Export (or Export Registry File)

Give the file a name and then save it.

Open the file in a text editor like Notepad.

You need to edit the file to replace the two instances of:

HKEY_CURRENT_USER
with

HKEY_USERS\.DEFAULT
Save the changed file as a .reg file and double-click it to apply the data to the registry. This effectively copies the Hamachi user profile from the original location in the regsitry to HKEY_USERS\.DEFAULT

Note: The copying of this data can also be done at the command prompt using the reg.exe program’s copy command, but it is not available on all versions of Windows.

Next you need to make sure this registry key is set to the value 1 so that Hamachi automatically connects on startup:
(HamachiAutoConnect.reg) - Click, Save, or Run.


HKEY_USERS\.DEFAULT\Software\Applied Networking\Hamachi
AutoConnect = 1
Configure the service:

Go to Start - Control Panel - Administrative Tools - Services

Right Click AutoHamachi - click Properties

Select “Log On” tab - check “Local System Account” and then under it check “Allow service to interact with the desktop”.

Go back to the “General” tab and for Startup Type select “Automatic”.

Reboot the machine and Hamachi should automatically start and connect. You should then be able to start up Hamachi on the the other computers and verify their connectivity.

To make it easier to access other computers on your network, add the 5.X.X.X IP addresses with their corresponding host names to the hosts files of all the PCs.

Note: If you do run into any errors or it just doesn’t work for you, make sure you double check the syntax of everything. Make sure Hamachi is not running during any of the stages of configuring it as a service. Also, check Hamachi’s settings to make sure it is not set to automatically start up when you login.

Gadgetman496  Smile

Credits:
HelplineDirect:
It's a Tech World:


-
_________________
What some people mistake for the high cost of living is really the cost of high living.


Last edited by Gadgetman496 on Thu Jan 08, 2009 2:00 am; edited 2 times in total
View user's profile Send private message
thebyrnie



Joined: 09 Nov 2008
Posts: 33


Location: Galway Ireland
PostPosted: Wed Nov 26, 2008 12:45 am Reply with quote

Absolutely Brilliant Descriptive pleasure of a post to read i have been using hamachi for years playing LAN games,sharing folders and printers etc and found it fantastic

But Reading this post i have learned a new thing or two and i thought i new it all  Very Happy  Very Happy  

For Example running as windows service

Follow this and you won't go wrong

Thanks Gman

View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    HELPLINEDIRECT Forum Index » Remote Access:


 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Card File  Gallery  Forum Archive phpBB skin developed by: John Olson
Powered by phpBB © 2001, 2005 phpBB Group
Create your own free forum | Buy a domain to use with your forum
www.techkings.org