Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»Network Services»VPN»How to Set Up LogMeIn (Hamachi) VPN on Ubuntu 16.04, CentOS/RHEL 7

    How to Set Up LogMeIn (Hamachi) VPN on Ubuntu 16.04, CentOS/RHEL 7

    RahulBy RahulMarch 16, 20143 Mins ReadUpdated:December 5, 2017

    Hamachi is used or setup VPN and connect systems over VPN network. This provides an quick and easier way to create VPN network and attach system. You can create a free account on logmein.com and create networks. You can add up to 5 systems in each network with free account. To add more than 5 systems required to upgrade network to paid version.

    For this tutorial, I have already created hamachi network from its web interface and get a network id and connected a windows system with this network. This tutorial will help you set up LogMeIn VPN network and add Linux machines to this network. Also, attach a Windows system to communicate each host over VPN.

      Network ID: 181-585-285
      Windows Client IP: 25.70.100.134
      Linux Client IP: Will get after Install

    Step 1 – Install Required Packages

    For installing hamachi on CentOS, RedHat systems, you must have installed redhat-lsb package. If you don’t have already install it using the following command.

    sudo yum install redhat-lsb
    

    Step 2 – Download LogMeIn and Install

    Visit LogMeIn official download webpage to download latest LogMeIn-hamachi packages for your Debian, Redhat or Windows systems. You may also use the below commands to install LogMeIn hamachi client on your system.

    CentOS/RHEL 7:-

    wget https://www.vpn.net/installers/logmein-hamachi-2.1.0.174-1.x86_64.rpm
    sudo rpm -ivh logmein-hamachi-2.1.0.174-1.x86_64.rpm
    

    Ubuntu 16:-

    wget https://www.vpn.net/installers/logmein-hamachi_2.1.0.174-1_amd64.deb
    sudo dpkg -i logmein-hamachi_2.1.0.174-1_amd64.deb
    

    Start Hamachi service using the following command.

    sudo /etc/init.d/logmein-hamachi start
    

    Step 3 – Set Up LogMeIn Network

    You can also create the network using the command line. But I prefer to login to the LogMeIn hamachi dashboard and create a Network under Networks >> My Networks section. For security, purpose assigns a password for your network. On creation of the network, you will get a network id. Use this network id and password to attach remote systems to this network.

    Set Up LogMeIn Hamachi Network

    Step 4 – Join LogMeIn Existing Network

    After installing hamachi, let’s join existing network. But it required being logged in first. There is no need for any login credentials for it, just use the following command.

    hamachi login
    
    Logging in .......... ok
    

    Now use the command to join the network. 181-585-285 is the LogMeIn-Hamachi network id.

    hamachi join 181-585-285
    
    Password:
    Joining 181-585-285 .. ok
    

    Now you have successfully joined to existing network.

    Step 5 – Check Hamachi Status and Details

    To check the IP address, hamachi client id and other details about your system just type command ‘hamachi‘ and press enter.

    hamachi
    
    version : 2.1.0.174
    pid : 20578
    status : logged in
    client id : 219-270-114
    address : 25.71.188.76 2620:9b::1947:bc4c
    nickname : svr1.tecadmin.net
    lmi account: -
    

    To check the current joined to network and other details about that network just use the following command

    hamachi list
    

    Let’s try to ping to windows client.

    ping 25.70.100.134 -c 4
    
    PING 25.70.100.134 (25.70.100.134) 56(84) bytes of data.
    64 bytes from 25.70.100.134: icmp_seq=1 ttl=128 time=1.88 ms
    64 bytes from 25.70.100.134: icmp_seq=2 ttl=128 time=2.15 ms
    64 bytes from 25.70.100.134: icmp_seq=3 ttl=128 time=1.56 ms
    64 bytes from 25.70.100.134: icmp_seq=4 ttl=128 time=1.63 ms
    
    --- 25.70.100.134 ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 3010ms
    rtt min/avg/max/mdev = 1.563/1.806/2.150/0.237 ms
    

    The above output showing that system is successfully communicating with windows client using hamachi network.

    Set Up LogMeIn Hamachi

    Congratulation’s! You have successfully installed and configured LogMeIn Hamachi on your Linux system.

    connection hamachi logmein network networking VPN
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleHow to Install PHP 5.4, Apache 2.2 and MySQL on Ubuntu 14.10, 14.04, 12.04 LTS
    Next Article How to Install mod_security with Apache on CentOS/RHEL 7/6

    Related Posts

    How to Check IPv4 Address on Ubuntu 22.04

    2 Mins Read

    How to Configure Static IP Address on Ubuntu 22.04

    Updated:May 4, 20223 Mins Read

    Linux ip Command and Examples

    Updated:July 15, 20218 Mins Read

    How to Install & Connect OpenOPN Client on Debian

    Updated:September 24, 20204 Mins Read

    How to Install & Connect OpenVPN Client on Ubuntu

    Updated:March 1, 20203 Mins Read

    How To Install OpenVPN Server on Debian 10/9

    Updated:September 24, 202013 Mins Read

    11 Comments

    1. Niesha on May 9, 2020 4:20 am

      Do you have any video of that? I’d like to find out more details.|

      Reply
    2. Archie on May 9, 2020 4:06 am

      It’s great that you are getting ideas from this article as well as from our argument made at this place.|

      Reply
    3. Syed Irtaza Haider on April 27, 2015 1:06 pm

      I am new to linux. I tried to install logmein and it got stuck during the installation, so i force quit the installation. After working on different tasks, i turn-off the server and restarted it. Now i cant even login to the server. Its stuck on the screen where it says “starting logmein hamachi VPN tunneling engine logmein hamachi”.
      Please guide me what to do, as its very urgent to start the server.

      Reply
    4. Muhammad Taha on August 15, 2014 11:14 pm

      Very precise, accurate steps given,
      it is working for me,,,,amazingly 🙂

      thank you for the this post and made my life easier.. LOL

      installed: logmein-hamachi-2.1.0.130-1.i486.rpm

      Reply
    5. Sebastien C. on February 8, 2014 2:16 pm

      If you want to use it by the way, the old version is still working as it doesn’t required up to date libgcc library. More info here with the link to download the old revision : http://community.logmein.com/t5/Hamachi/Hamachi-and-CENTOS-6-4/td-p/103913

      Reply
    6. Sebastien C. on February 8, 2014 2:00 pm

      Hi,

      Same issue with GLIBCXX_3.4.15 not found, cannot go further. Is there any solution ?

      I’m using Linux 2.6.32-042stab081.5, it’s a CentOs 6 distrib.

      Reply
    7. Keyjey on November 13, 2013 12:42 am

      Same problem here, and is not easy to fix that GLIBCXX_3.4.15 issue.

      Reply
    8. erik on October 28, 2013 1:14 am

      Important that users understand that Hamachi does not work with CentOS5 using RHEL6 because the latest version of GCLIB is sub 3X and this program requires 3.4.15. Installing this into CentOS5.X is done so at the users risk because you have to push GCLIB to an unsupported version that is at your peril. So basically if you see this GCLIB then forget touching hamachi and maybe go with openvpn instead.

      Reply
    9. erik on October 27, 2013 11:29 pm

      I had the same issue. GLIBCXX_3.4.15′ not found (required by /opt/logmein-hamachi/bin/hamachid)

      So many issues trying to do things on linux. Trying my best to learn but it seems simple things require lots of hours and research. I would say developers of OS are smart only if they can make tools that are easy to work with. Seems that there is never a straightforward way. You follow instructions and something is always not right… Maybe deep regulation and standardization would be good to have across all platforms.

      Reply
    10. Lucas on October 22, 2013 12:30 pm

      Starting LogMeIn Hamachi VPN tunneling engine logmein-hamachi/opt/logmein-hamachi/bin/hamachid: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15′ not found (required by /opt/logmein-hamachi/bin/hamachid)
      /opt/logmein-hamachi/bin/hamachid: /lib64/libc.so.6: version `GLIBC_2.14′ not found (required by /opt/logmein-hamachi/bin/hamachid)

      Reply
    11. Eugene on August 14, 2013 1:07 pm

      Try this. Ammyy Admin is a powerful multi-task solution for remote desktop sharing, remote computer administration and distance learning from any location in the World.

      Reply

    Leave A Reply Cancel Reply

    Recent Posts
    • How to Install Sublime Text 4 on Ubuntu 22.04
    • How to Enable / disable Firewall in Windows
    • How to Install JAVA on Ubuntu 22.04
    • Switching Display Manager in Ubuntu – GDM, LightDM & SDDM
    • Changing the Login Screen Background in Ubuntu 22.04 & 20.04
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.