Which ports and protocols does LogMeIn Hamachi use?
If you receive a relayed tunnel, it can be caused by a failure to negotiate a port for the data connection. Try following the port forwarding instructions at the bottom of this document.
Hamachi uses several ports to achieve connectivity to the mediation servers, and to peers.
Peer ConnectivityPeer connectivity has several methods and ports. By default, Hamachi will broker a peer connection over UDP. UDP uses random ports by specification, so it is not possible to open a single port for peer connections for UDP.
If UDP direct connectivity cannot be established, Hamachi will try to initiate a relayed UDP connection. This is done with the target of:
And lastly, Hamachi will try a relayed connection over TCP 443 (non-SSL) before giving the user a message that the peer is unreachable.
TCP peer connections are very unlikely to be successful in cases where UDP connections would not work, because the triggers for them not working are the same (router issues, improperly configured NAT, multiple NAT devices on both ends).
Additional InformationYou can set a static UDP listening port and TCP handshake port by configuring it in System > Preferences > Settings > Advanced Settings under Peer Connections. Complete both values if you have multiple Internet connections.
If you are behind a router you must forward the port's UDP/TCP traffic from your router to the machine. Follow the instructions for your router from PortForward.com. If you have multiple machines behind the same router, you will need to choose different ports for each to avoid conflicts.
Application: HAMACHI External port: 12975 Internal port: 12975 Protocol: TCP (Initiator port)
Application: HAMACHI1 External port: 32976 Internal port: 32976 Protocol: TCP (Session port)
Application: HAMACHI2 External port: 17771 Internal port: 17771 Protocol: UDP (Relay connection port)
Application: HAMACHI3 External port: 443 Internal port: 443 Protocol: TCP (Non-SSL)
• In most cases Hamachi will only require the first two ports to be forwarded, Hamachi will only use the second two ports if there is a problem using the first two.