Hamachi:Ports and Protocols

From LogMeInWiki

Jump to: navigation, search

Add to: del.icio.us | Digg | Slashdot



  • TCP 12975, 32976 outbound
  • failover to SSL (443 TCP)


  • UDP random (default), inbound/outbound
  • failover to relay, UDP 17771 outbound


Hamachi connects to a central server on ports 12975 TCP, and 32976 TCP. These are destination ports on our server. To permit this activity in a network firewall, something like (ip allow 12975 TCP *.hamachi.cc) for example would be what to implement.

The first port is used for an initial contact, and the second is used for an actual session.

If the methods above fail in connecting the the Mediation Server (default bibi.hamachi.cc), Hamachi will try to use standard SSL connectivity (TCP port 443) to connect to it. This will not, however, affect the UDP connectivity (peer to peer tunnels).

It uses dynamic local and remote UDP ports for communicating with other Hamachi peers based on UDP specifications. If this fails, Hamachi will attempt to use a relay server to make the connection. The relay is low-bandwidth (8Kbps) for basic peers, and high-bandwidth (no cap on Kbps) for Premium peers. This connection is made via UDP 17771 outbound.

You can set a static UDP listening port by configuring it in Hamachi:Detailed Configuration, but note that this will require you to forward that port's UDP traffic from your router to the machine, if you are behind a router. Also note that if you have multiple machines to do this on, you will need to choose different ports for each to avoid conflicts and also forward them all.

Hamachi also supports the use of http proxy servers, which can be configured in Hamachi:Detailed Configuration.

Personal tools