In LogMeIn Hamachi, there are two types of connections between peers:
Goal: Convert every Relayed connection into a Direct one.
Hamachi uses a specific UDP port to negotiate tunnels. If this port is blocked by the router's firewall, the connection defaults to "Relayed." hamachi relayed tunnel to direct tunnel fix
Access Router Configuration:
Configure Port Forwarding:
Enable UPnP (Alternative to Manual Forwarding):
Before fixing the issue, you must understand the network topology. Hamachi uses three types of connections: On Linux/macOS, ensure ufw/iptables or pf rules allow
Hamachi uses two types of tunnel modes:
Sometimes the relay is temporary.
If Hamachi shows a relayed (yellow) tunnel but you want a direct (green) tunnel between two peers, follow these steps — apply on both machines: