Use hamachi to build a virtual LAN

Source: Internet
Author: User
Use hamachi to build a virtual LAN

Luoweifeng 2011-2-24

 

When I was at home, a buddy asked me to help him with something. Their company has two factories, all in different LAN, and each small company also has an Internet IP address, this is confusing for the first time I entered it. I have heard of a VPN. As a result, I searched for more than one cake. So I had a vnn game, but I couldn't register it for half a day. It turns out that people have stopped paying attention. Finally, I found hamachi, a foreigner. You can understand it at a glance. The following describes the usage details.

 

1. install hamachi. During the installation process, you will be prompted to install a network protocol driver. After installation, a local connection will be generated. If the driver is on the campus network, it may be limited, it doesn't matter, but use the cracked version of ruijie, or you can immediately connect it after it is disconnected, just to do a test.

2. Enable hamachi locally, power on (Power Supply Key), and select create a new network. The network name is XXXXXXXX and the password is yyyyyyyyyyy. In this case, an IP address starting with "5" is not configured. This is the virtual IP address of the machine in the virtual LAN created by hamachi for us.

3. enable hamachi in another LAN, connect to the power, select to join the existing network, and enter the xxxxxxx password, yyyyyyyyyy, in this way, you can see your own virtual network and the computers in this network. You can use the IP address starting with 5 allocated by hamachi to directly communicate with each other.

 

 

Install
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.9.9.9.20.deb
Dpkg -I Hamachi_0.9.9.9.20.deb
Rm Hamachi_0.9.9.9.20.deb

Whats next?
If you have hamachi installed you can:

  • Join to Network

    SudoHamachi-C /Etc/HamachiJoinYour-network your-Password
  • Create your own networkSudoHamachi-C /Etc/Hamachi create your-network your-Password
  • Log in to hamachiSudoHamachi-C /Etc/HamachiLogin
  • Go onlineSudoHamachi-C /Etc/Hamachi go-Online your-network
  • List users in your networks:SudoInvoke-rc.d hamachi status

    (You can enter this command twice to view nicknames)

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.