How to allow Hamachi VPN Through Firewall (Easy Steps)


How to allow Hamachi VPN Through Firewall (Easy Steps)

Allow Hamachi through Windows Firewall

To allow Hamachi through the firewall on Windows you will need to:

  1. Press the Windows key -> R . – Type in “cmd” without quotes, then click Ok.
  2. Type in ipconfig /all and press enter. – Note the IPv(x) value of Hamachi (It will be something like 192.168…).
  3. Type in “netsh advfirewall firewall set rule group=””remote desktop“ new enable=yes” and press enter, replacing Hamachi’s IP with the IP you noted earlier.
  4. Type in “netsh advfirewall firewall set rule group=””remote desktop“ new enable=yes” and press enter, replacing Hamachi’s IP with the IP you noted earlier.
  5. Press Windows key -> R . Then type in ipconfig /flushdns and press enter. This will clear all your DNS caches. – Now Hamachi should be able to connect through the firewall.

Now Hamachi will work on all machines with the above rules in place! Go to your Hamachi client and click ‘create new network’. Leave the password box blank, then press ok. Congratulations you now have a secure VPN between two computers!

Allow Hamachi through Linux Firewall

To allow Hamachi through the firewall on Linux you will need to:

  1. Open a terminal.
  2. Type in “sudo iptables -A INPUT -p udp –dport 17771” without quotes and press enter.
  3. Then type in “sudo apt-get install Hamachi”. Now Hamachi should be able to connect through the firewall.

Please note, Hamachi will not work if you are using a software firewall like Firestarter or Zonealarm as those only allow access via ports that have been specifically opened up by an administrator on your system

Allow Hamachi through MAC OS Firewall

To allow Hamachi through the firewall on Mac OS you will need to:

  1. Click system preferences. Then click network.
  2. Click advanced and then select “port” under services at left side of screen.
  3. Then click + icon (at bottom) to add a port for Hamachi. Add Hamachi UDP 17771 port and click ok. Then Hamachi should be able to connect through the firewall.

LogMeIN Hamachi VPN

VPN stands for Virtual Private Network. A VPN is a private network that runs on top of existing internet protocols (TCP/IP, UDP). This enables the users to send and receive data across shared or public networks as if their devices were directly connected to the private network via physical cable. So basically what this means is Hamachi can be used to access the internet as if you were directly connected via a physically plugged in cable.

It allows you to share a certain resource on your physical machine with other devices connected online, like allowing another person in China access your shared folder when you are both on your machine.

LogMeIN Hamachi is a VPN service that uses a private network to authenticate users. The Hamachi service is used by more than 20 million people around the world and it allows you to create secure virtual networks even over public or insecure internet connections. This is great for gamers, internet café owners and anyone who needs to access private data securely. However, there are times when you Hamachi network can’t be seen by people outside of the network. This most commonly happens if your Hamachi is behind a firewall or router.

Hamachi Server and Client

Hamachi server can be hosted through any operating system, but the Hamachi client is available for Windows and Mac. Unlike Hamachi for Windows/Mac, the Linux client uses the command line and offers a relatively limited set of features.

Hamachi Force TCP

By default Hamachi uses UDP port 1777. Unfortunately, this port is often blocked by network administrators because it is mostly used for Hamachi. If you want Hamachi to run on a firewall that blocks the default port 1777, then Hamachi offers an option called ‘Force TCP’ which allows Hamachi servers to use dynamic ports instead of static UDP ones (default).

Force TCP setting in Hamachi is also known as “port forwarding” and firewall will allow Hamachi to run only if you have Hamachi installed on both computers. See below settings involving Force TCP:

  1. The port that Hamachi opens when force TCP is enabled, can be seen at the top of your Hamachi window under status->network details.
  2. After enabling Force TCP for Hamachi ( Hamachi -> Hamachi settings -> Force TCP ) and enabling firewall for Hamachi on both computers, you can log into your Hamachi network using the same Hamachi ID with any computer connected to internet.

Note: Hamachi does not hide your IP, it simply redirects your connection through the Hamachi network.

Conclusion

In conclusion, Hamachi is a great VPN service for gamers and people who need to access private data securely. If Hamachi cannot connect through firewall, then make sure you have force TCP enabled in Hamachi settings, followed by adding the IP of Hamachi in windows firewall or iptables on Linux/Mac OS (see above).

Hamachi is a great tool that allows you to create a virtual network in your Hamachi client. You can then use this virtual connection to allow others access, or just secure the computer from malware and viruses. If you have it installed on multiple computers through out the world, sharing files between each other is as simple as sending them over Hamachi itself!

Hopefully this article has cleared up any Hamachi firewall issues you may have been having. If not, please let us know in the comments below and we will get back to you as soon as possible!

Thanks, and happy amachi-ing!

Recent Posts