Why Hamachi? Because it’s easy to configure and use. This is what is called a Virtual Private Network: “virtual” because the computers are not really into the same local network, but they appear to be, and “private” because you can configure (using a password and encryption) who can connect to the network. What Hamachi does is to establish a (virtual?) link between computers on the Internet so they appear to be on the same local area network. How does this work? Starcraft is an ancient game (1998!) that only allows multiplayer gaming over, Direct Cable Connection (who has ever used this?) and a Local Area Network. So I and my friend decided to try a “local” game using the Hamachi tunneling tool. In my case, I was even unable to sucessfully start a game. Some possible applications include a Smart Home controller (I am biased), or a media server.If you have ever tried to play Starcraft on Linux (using Wine) over you must have seen that the interface looks very bad and the text is very hard to read. Now, you have a secure, low power network node that you can access from anywhere. Sudo update-rc.d logmein-hamachi defaults Alternatively, Hamachi can be added as a service that runs at startup by running: Hamachi does not start automatically after restarting or powering on the Pi, but can be started manually by running the hamachi login command. The Raspberry Pi can now be assigned to any of your networks. Verify that it is from the device type and nickname that you set, and approve it. At the top of the networks page, you should see a pending join request. My personal favorite is a mesh network, as there is no master node that has to be online for the rest to connect to one another. Click on “My Networks” under the “Networks” header, and create a new network if you do not already have one set up. Sudo hamachi attach sending the attach request, sign into the LogMeIn site. Next, attach the system to your LogMeIn account by running the following, replacing the placeholder with your email address: Once everything is installed, log into Hamachi with:Īfter getting the “ok” from the login process, tell Hamachi what to call the system by running the following command, putting your desired name inside the quotes: At the time of writing, the most recent available is “logmein-hamachi_2.1.0.174–1_b.” Grab the package from the Hamachi site with: Under the header “Hamachi for Linux on ARM” locate the most recent ARM HF Debian package. Once that is complete, navigate to the Hamachi for Linux page. Update Raspbian with sudo apt-get update, then sudo-apt get upgrade.Next, install the Linux Standard Base and Core components by running sudo apt-get install lsb lsb-core. The following is how I set up Hamachi on my Raspberry Pi 3 (or 2) running Raspbian Jessie: First, create a free LogMeIn account, if you don’t already have one. Hamachi provides a great solution to this, has desktop clients to connect Macs and PCs, and even has methods for generating VPN profiles for tablets and mobile phones. Fast forward to today, and I still use Hamachi to network a few machines at home, and one at work.Īs part of my recent fascination with building a Raspberry Pi powered Smart Home, I wanted to be able to access the system securely, and without having to set up port forwarding and exposing the Pi to the internet at large. At the time, I didn’t realize how useful VPN was. We used the free tier of LogMeIn’s VPN service, Hamachi. When I was in college, a friend of mine set up a mesh VPN network for a group of us to share files over.
0 Comments
Leave a Reply. |