Skip to content
  • Home
  • About
  • Contact
« How to translate emails to English with Gmail
CoTweet helps companies use twitter efficiently »

How to create a secure and private network

By Sharninder | Published: July 16, 2009

hamachiPicture this – You’re out on the road for work or pleasure and have this sudden urge to listen to that one song from your collection which is stored on your desktop back at home. Or you’re a freelancer and need access the draft proposal you made for a client which is again on your desktop sitting in your home office.

You can’t keep your desktop or other machines at home exposed to the outside world over the Internet, because, franklt speaking, it’s a dangerous world out there. But you still need safe and easy (and secure) access to all your data. How do you do that ? Did someone say – “Create a VPN!”

Enter Hamachi.

What is Hamachi ?

Hamachi is a piece of software that lets you create a private, secure network of your own. It is what people in the industry call an instant zero configuration software VPN – virtual private network. With a Hamachi created network, you can continue using your machines from thousands of miles away, as if they were in the next room. Anything that works over a local network, should work using Hamachi and you will not even notice the difference.

Hamachi works on Windows, Linux and Mac OS X and in this post today, we’ll be using it to network a Windows and a Linux (Ubuntu) machine.

Installing Hamachi on Windows

Download the windiows based installer for Hamachi and install it like any other Windows application. Hamachi is free for non-commercial use, so if that is your use-case, you can select that option while installation.

hamachi

Once Hamachi is installed, it’ll take you through a small tutorial which you should read to get familiar with Hamachi. At the end of the tutorial, you’ll be asked to click on the power on button. Hamachi is now ready to be used.

hamachi

Create a Network

Now comes the fun part. Click on the network button and chose “Create a New network” from the menu. Give your network a name and a password. Remember this password as it will be required to connect any other machine to this network.

hamachi

Your Hamachi setup on the windows side is done.

Installing Hamachi on Linux

Installing and running Hamachi on windows is a little bit more involved because there is no fancy graphical installation to do the heavy lifting for us.

Download Hamachi for Linux from the same location as before. The Linux version comes as a .tar.gz archive. Extract the file, open the terminal and browse to the directory where you kept the extracted files. Give the following command as the ‘root’ user.

make install; tuncfg

You don’t need to be running as the root user to run the rest of the commands. The next command is used to create a cypto identity for your machine.

hamachi init

Now, give the following commands in sequence to start the hamachi daemon, login to hamachi, join a network (requires the password that you set earlier), and go online in the network.

hamachi start
hamachi login
hamachi join
hamachi go-online

If, at this time, you look at the hamachi GUI in the windows machine, you should be able to see the Linux machine logged in to the network you created earlier.

hamachi

That’s it. Now that both the machines are in the same network and you can use them as if they were sitting right next to each other, even if you’re physically sitting miles away.

Hamachi is the easiest zero configuration VPN solution that I’ve seen and I’m sure you all will find a use for it at one time or another.

Are there any other VPN solutions that you guys use ? Let us know in the comments.

About Sharninder:

Programmer, blogger and a geek making a living shifting bits around the Internet. Sharninder is the owner of Geeky Ninja
Related Posts with Thumbnails
  • PrintFriendly
  • Yahoo Buzz
  • Google Reader
  • Delicious
  • Evernote
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Identi.ca
  • Digg
  • Facebook
  • FriendFeed
  • Reddit
  • Technorati Favorites
  • Twitter
  • Share/Bookmark

Related Posts

  • How to read HFS+ volumes on Windows
  • Elisa – Open Source Cross platform Media center
  • Control firefox with the keyboard using ubiquity
  • Convert videos for your iPhone with free tools
  • How To Get Music Off your iPod
This entry was posted in Linux, Useful Utilities, Windows and tagged Linux, Networking, VPN, Windows. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.
« How to translate emails to English with Gmail
CoTweet helps companies use twitter efficiently »

3 Comments

  1. Ben
    Posted July 17, 2009 at 9:45 pm | Permalink

    Sounds pretty cool. Thanks for sharing Sharninder!

    Reply
    • Sharninder
      Posted July 18, 2009 at 9:04 pm | Permalink

      Thanks for visiting Ben.

      Reply
  2. Utna
    Posted July 27, 2009 at 10:26 pm | Permalink

    Hamachi is a fine thing. I use it here via DSL instead of “bridged” networking; that is faster. But as soon as the “other end” is some 300 miles away, it becomes sticky slow ! One reason for this is, that the first 30 or 60 days you have a faster connection, than it goes down to “free” speed. You can speed up by paying, but the speed only works with others that also pay.
    For GP stuff, Webspace can be a lot faster

    Reply

One Trackback

  1. By Links of the Week: 17 July 2009 | Software PC Tips | PC will easy when you read that blog on July 18, 2009 at 2:42 pm

    [...] How to create a secure and private network | Geeky Ninja [...]

Post a Comment

Click here to cancel reply.

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting

  • Subscription Options:

  • Recent Posts

    • How to add Facebook chat to iChat on Mac OS X
    • How To Get Music Off your iPhone
    • Monitor your websites for free using WasitUp?
    • Grooveshark: Listen to unlimited music online for Free
    • Glide OS – A web based free operating system
    • December Roundup – Best of the Web
    • HowTo install RockBox on your iPod
  • Recent Comments

    • How To Get Music Off your iPhone | Geeky Ninja on How To Get Music Off your iPod
    • Sharninder on Grooveshark: Listen to unlimited music online for Free
    • Briefgold on Grooveshark: Listen to unlimited music online for Free
    • Matjaz on Recover data from an iPhone backup
    • Simon on Recover data from an iPhone backup
  • Most Popular Posts

    1. 3%HowTo install RockBox on your iPod
    2. 2%Grooveshark: Listen to unlimited music online for Free
    3. 2%Glide OS - A web based free operating system
    4. 2%Want to see what the Google Wave Hype is all about ? We've got invites for you
    5. 2%Find the cheapest books on Amazon using CheapRiver
    6. 2%Monitor your websites for free using WasitUp?
    7. 1%December Roundup - Best of the Web
    8. 1%How To Get Music Off your iPhone
    9. 1%How to add Facebook chat to iChat on Mac OS X
  • Categories

    • Announcements
    • Firefox
    • Internet
    • iphone
    • Linux
    • Mac OS X
    • Open Source
    • Tips and tricks
    • Useful Utilities
    • WebApps
    • Windows
  • Archives

    • March 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
Powered by WordPress.