Hamachi Logmein (ISP NAT Work Around)
Posted: Sat Mar 15, 2014 8:22 pm
This is a journal of what I did to install Hamachi Logmein onto my Amahi 7.1 (Fedora 19 Build). This is a VPN work around for those who cannot open ports, port forward, or have NAT problems.
(Background: I am an Expat who lives in a large apartment building in China, so I had a host of problems trying to figure out VPN to my Amahi HDA. In short, I am behind a switch and a router, and then my router in my apartment building. I am also unable to ask my building IT, or ISP to port forward as they say they can't because of the invisible hand of Chinese Internet Regulation. So, I gave Hamachi Logmein a try, to some relative success.)
***** Guide Begins *****
1. create an account at https://accounts.logme.in/registration.aspx
2. SSH into your HDA
3. We need to install LSB 3.0 from RedHat.
4. Next we need to grab the Hamachi Client from the Logmein Beta Labs here
5. Compile the client with rpm
6. reload the daemon for good measure
7. connect Our HDA Hamachi to the Logmein Reporting Service
This has installed LSB 3.0 which is necessary for Hamachi to run, you have also installed the Hamachi client. The "hamachi login" command connects your HDA to the logmein reporting service. However, it is not attached to your account so we need to do that now.
8. Replace username@webaddress.com with your email address linked to your Hamachi account
I suggest creating web-owned networks and attaching your online Hamachi HDA client to it through Logmein's web interface. Creating Client owned networks from your Hamachi HDA client is possible but you will need to do everything command line.
You can then add other computers to your network through normal Hamachi client addition (again through logmein's web site).
This will allow access to network resources (i.e. shares, Plex Media Server, and VNC just to name a few.) You can access the shares through the ip address assigned to your computer through Logmein (It should begin with 25.xxx.xxx.xxx)
ATTACHED are a list of the Hamachi Commands that can be run (including how to set a nick, create a network from the Hamachi HDA client, etc)
** Problems I have faced **
I have faced problems creating "gateway" networks with my Hamachi HDA client as the gateway. I don't think the DNS server on the HDA can handle it, but if someone gets that working please let me know. (Mesh networks work fine though)
Also, distance seems to be a problem as my computers in the US sometimes have a hard time connecting to my HDA but that might be because of Chinese Internet Issues because when I am on mainland from Beijing to Shenzhen I can access my HDA in Shanghai.
(This was my first post on here so any constructive feedback would be great. I am just trying to help other people out.)
(Background: I am an Expat who lives in a large apartment building in China, so I had a host of problems trying to figure out VPN to my Amahi HDA. In short, I am behind a switch and a router, and then my router in my apartment building. I am also unable to ask my building IT, or ISP to port forward as they say they can't because of the invisible hand of Chinese Internet Regulation. So, I gave Hamachi Logmein a try, to some relative success.)
***** Guide Begins *****
1. create an account at https://accounts.logme.in/registration.aspx
2. SSH into your HDA
3. We need to install LSB 3.0 from RedHat.
Code: Select all
su -c "yum install redhat-lsb"
Code: Select all
wget https://secure.logmein.com/labs/logmein-hamachi-2.1.0.119-1.x86_64.rpm
Code: Select all
rpm -i logmein-hamachi-2.1.0.119-1.x86_64.rpm
Code: Select all
systemctl daemon-reload
Code: Select all
hamachi login
8. Replace username@webaddress.com with your email address linked to your Hamachi account
Code: Select all
hamachi attach username@webaddress.com
You can then add other computers to your network through normal Hamachi client addition (again through logmein's web site).
This will allow access to network resources (i.e. shares, Plex Media Server, and VNC just to name a few.) You can access the shares through the ip address assigned to your computer through Logmein (It should begin with 25.xxx.xxx.xxx)
ATTACHED are a list of the Hamachi Commands that can be run (including how to set a nick, create a network from the Hamachi HDA client, etc)
** Problems I have faced **
I have faced problems creating "gateway" networks with my Hamachi HDA client as the gateway. I don't think the DNS server on the HDA can handle it, but if someone gets that working please let me know. (Mesh networks work fine though)
Also, distance seems to be a problem as my computers in the US sometimes have a hard time connecting to my HDA but that might be because of Chinese Internet Issues because when I am on mainland from Beijing to Shenzhen I can access my HDA in Shanghai.
(This was my first post on here so any constructive feedback would be great. I am just trying to help other people out.)