Hamachi for Debian / Ubuntu

Hamachi is very easy, closed source hosted VPN service. It securely connects devices and networks, extending LAN-like network. It is absolutely free for non-commercial use. I have created deb package for easy install this interesting VPN clinet.

To install hamachi on debian or ubuntu follow steps:

sudo su
aptitude install build-essential
wget -c http://rafal.zelazko.info/wp-content/uploads/old/hamachi_0.
dpkg -i hamachi_0.
rm hamachi_0.

Whats next?
If you have hamachi installed you can:

  • Join to network
    sudo hamachi -c /etc/hamachi join your-network your-password
  • Create your own network
    sudo hamachi -c /etc/hamachi create your-network your-password
  • Log in to hamachi
    sudo hamachi -c /etc/hamachi login
  • Go online
    sudo hamachi -c /etc/hamachi go-online your-network
  • List users in your networks:
    sudo invoke-rc.d hamachi status

    (you can enter this command twice to view nicknames)

Hamachi Basic as Windows service

To install Hamachi Basic as Windows NT/2k/XP (Vista not supported) service you must follow few steps described in: http://www.itsatechworld.com/2006/01/17/hamachi-vpn-solution/

To install Hamachi Basic as Windows Vista service you must download ServiceEx.exe. Copy it to C:\Program Files\ServiceEx and create there file HamachiService.ini. Paste there:

ServiceExeFullPath = "C:\Program Files\Hamachi\hamachi.exe"
options = -srvany -config "C:\Documents and Settings\Administrator\Application Data\Hamachi"
desktop = false

Change there config dir. Now open command line as administrator, type there

cd C:\Program Files\ServiceEx
ServiceEx install HamachiService

Close your hamachi (if runned), type in start/run services.msc and start your new HamachiService.
Warning! Currently I don't know how to handle “Interact hamachi with desktop” on service tab.

To install any other things as windows service you can use tool: http://www.tacktech.com/display.cfm?ttid=197 or ServiceEx.


Adding restricted FTP accout without Shell access

After installing proftpd type as root:

ln -s /bin/false /bin/ftp
echo "/bin/ftp" >> /etc/shells
useradd -d /my/directory/ -s /bin/ftp -g my_group my_user

Now in /etc/proftpd.conf

Umask  012 002
Allow from
DenyAll<div style="display: none"><a href='http://adobe-creative-suite-download.com'>adobe creative suite master collection</a></div>