Install Hamachi Free VPN

sudo modprobe tun

sudo nano /etc/modules

#add “tun” without (quotes) in the list

ardian@ubuntu:~$ ls /dev/net/tun
/dev/net/tun

ardian@ubuntu:~$ wget http://files.hamachi.cc/linux/hamachi-0.9.9.9-20-lnx.tar.gz

ardian@ubuntu:~$ tar zxvf hamachi-0.9.9.9-20-lnx.tar.gz

ardian@ubuntu:~$ cd hamachi-0.9.9.9-20-lnx/

ardian@ubuntu:~/hamachi-0.9.9.9-20-lnx$ sudo make install

ardian@ubuntu:~/hamachi-0.9.9.9-20-lnx$ sudo tuncfg

ardian@ubuntu:~/hamachi-0.9.9.9-20-lnx$ sudo groupadd hamachi

ardian@ubuntu:~/hamachi-0.9.9.9-20-lnx$ sudo gpasswd -a ardian hamachi
Adding user ardian to group hamach

ardian@ubuntu:~/hamachi-0.9.9.9-20-lnx$ sudo gpasswd -a root hamachi
Adding user root to group hamachi

ardian@ubuntu:~/hamachi-0.9.9.9-20-lnx$ sudo chmod 760 /var/run/tuncfg.sock

ardian@ubuntu:~/hamachi-0.9.9.9-20-lnx$ sudo chgrp hamachi /var/run/tuncfg.sock

ardian@ubuntu:~/hamachi-0.9.9.9-20-lnx$ sudo hamachi-init -c /etc/hamachi
Initializing Hamachi configuration (/etc/hamachi). Please wait ..

generating 2048-bit RSA keypair .. ok
making /etc/hamachi directory .. ok
saving /etc/hamachi/client.pub .. ok
saving /etc/hamachi/client.pri .. ok
saving /etc/hamachi/state .. ok

Authentication information has been created. Hamachi can now be started with
‘hamachi start’ command and then brought online with ‘hamachi login’.

ardian@ubuntu:~/hamachi-0.9.9.9-20-lnx$ sudo hamachi -c /etc/hamachi/ start
Starting Hamachi hamachi-lnx-0.9.9.9-20 .. ok

ardian@ubuntu:~/hamachi-0.9.9.9-20-lnx$ sudo hamachi -c /etc/hamachi/ set-nick yournickname
Setting nickname .. ok

ardian@ubuntu:~/hamachi-0.9.9.9-20-lnx$ sudo hamachi -c /etc/hamachi/ login
Logging in ……… ok

ardian@ubuntu:~/hamachi-0.9.9.9-20-lnx$ sudo hamachi -c /etc/hamachi/ create YourNetwork yourpassword

ardian@ubuntu:~/hamachi-0.9.9.9-20-lnx$ sudo hamachi -c /etc/hamachi/ go-online YourNetwork

Here is a list of hamachi commands:

#  start [debug]
stop
#  set-nick <nickname>
login
logout
#  list
get-nicks
#  create <network> [<password>]
delete <network>
evict  <network> <5.x.x.x>
#  join   <network> [<password>]
leave  <network>
#  go-online <network>
go-offline <network>

Advertisements

About ardian
I'm a young free/libre open source software/linux, enthusiast who has been working on promoting FLOSS in Kosovo. I'm helping my fellow peopel here in Kosovo in learning GNU/Linux. I helped run the first SFK09(Software Freedom Kosova 09) conference. I organised and talked in many locations in my country. I also have been learning and working on the OpenStreetMap project for Kosovo. I'm working on translating different software packages into Albanian.

One Response to Install Hamachi Free VPN

  1. Thank you. Your post is very useful or not less for me

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: