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>

%d bloggers like this: