Back Multiplayer guides
Tool Recommendations6 min

A Chronicle of Hamachi: The Architecture and Technical Limits of a Virtual LAN Pioneer

Revisit LogMeIn Hamachi's technical journey: zero-configuration P2P tunnels, virtual 25.x.x.x address allocation, the notorious yellow warning and Relayed Tunnel, and its lasting influence on early Minecraft and multiplayer in standalone games.

From the mid-to-late 2000s to the early 2010s, before NAT traversal tools matured, LogMeIn Hamachi, affectionately nicknamed "Hama-chi" or "the toad eats" by veteran Chinese players, introduced countless gamers to breaking out of heavily isolated private networks and playing standalone games together across physical distances. Whether joining friends in Minecraft's early Beta 1.7.3, or starting a long-distance session of Left 4 Dead 2 or Red Alert 2, Hamachi was once virtually synonymous with a virtual LAN.

Anyone who lived through that era will remember the maddening nights ruled by that yellow exclamation mark. From the perspectives of dedicated veteran players and network engineers, this article revisits the old "toad's" technical architecture, design limits, and a generation's youthful memories.

Memories of the classic LAN era


1. Hamachi's Birth and Core Architecture (2004)

Alex Pankratov created Hamachi single-handedly in 2004. At a time when IPSec and OpenVPN were still sophisticated enterprise operations tools, its central design philosophy fit into one sentence: wrap a complicated Layer 2 virtual private network in a tiny, simple window that even a middle-school student could use by entering a room name and password.

1. Virtual Network Architecture: A TAP Adapter and a Borrowed UK Ministry of Defence Address Range

  • Virtual Ethernet adapter driver: Hamachi installs a virtual TAP adapter driver on the host, emulating a real physical adapter at the operating system's NDIS network-driver layer;
  • The classic 25.x.x.x virtual IP pool: Early Hamachi used 5.x.x.x. Conflicts with public IP addresses actually allocated by IANA later prompted a complete switch to 25.x.x.x, an address range originally reserved by the UK Ministry of Defence but not publicly routed on the WAN. Veteran players still know the 25.xxx.xxx.xxx addresses by heart;
  • Zero-configuration rooms: The host creates a Network ID and Password. Teammates click Join an Existing Network in their clients, logically placing their virtual adapters in the same flat Layer 2 virtual subnet.

2. A Hybrid P2P Traversal Model

Hamachi uses centralized mediation servers to coordinate hole punching between clients:

  1. Clients maintain a persistent connection to LogMeIn's central servers, keeping online heartbeats and port-mapping tables;
  2. When node A tries to connect to node B, the central server sends each peer the other's server-reflexive public address and initiates UDP hole punching;
  3. Direct Tunnel (green indicator): If the NAT types are compatible, an encrypted P2P tunnel is established and traffic travels directly;
  4. Relayed Tunnel (blue/yellow indicator): If hole punching fails, traffic falls back to forwarding through LogMeIn's overseas servers, causing sharply increased latency and packet loss.

2. A Shared Veteran Trauma: Nights Ruled by the Yellow Exclamation Mark

Every Hamachi gaming group of the time had conversations like these each night: "Are you green yet?" "I'm blue, with over 300 ms of latency!" "Damn, why am I back to the yellow exclamation mark again?!"

Indicator State Actual Protocol State Multiplayer Experience
Solid green (Direct Tunnel) NAT traversal succeeds, establishing a direct encrypted P2P UDP tunnel Lowest latency; rooms appear instantly in the game lobby, as though connected by a real physical cable
Solid blue (Relayed Tunnel) Hole punching fails; all packets are relayed through LogMeIn's overseas servers Ping immediately rises to 200~400ms; frequent teleporting in games, though play remains just barely possible
Yellow triangle with an exclamation mark (Blocked) Handshake timeout, driver-loading failure, or complete blocking by symmetric NAT Every ping returns Request timed out; the peers cannot see one another at all

Why Was the Yellow Warning So Stubborn?

  1. Multiple layers of optical modems and peer NAT conflicts: Many Chinese broadband providers placed subscribers behind several layers of large private-network NAT. With Symmetric NAT in particular, external ports changed dynamically and randomly, making it impossible for the STUN hole-punching algorithm to predict the peer's port;
  2. Conflicts between TAP drivers and Windows Firewall: Windows updates often forcibly classified the Hamachi adapter as a Public network, and firewall policy automatically blocked incoming ICMP and broadcast packets;
  3. Desperate veterans could only keep disabling and enabling the adapter in Device Manager, run netsh winsock reset, and manually change its metric to 10 in the registry. After two hours of tinkering, dawn was approaching by the time a match finally connected.

3. Commercial Restrictions and Passing the Torch

After acquiring Hamachi in 2006, LogMeIn began tightening its commercial restrictions:

  • The crippling 5-device quota: Free-room limits shrank from the initial 16 players to 8 and eventually an extremely strict 5 devices. A 4-player Left 4 Dead squad barely fit, but adding a substitute or dedicated server immediately filled the room. Groups were forced to create networks such as "GamingGroup_01" and "GamingGroup_02" and move between them;
  • No domestic relay nodes: Relay nodes remained overseas for years. Once traversal failed and traffic used a relay, latency became too high for normal play;
  • The rise of modern networking tools for geeks: Open-source technologies such as WireGuard, Tailscale, and ZeroTier, the registration-free Radmin VPN without a participant limit, and today's game-optimized LanGame OS Orbit completed the handover from the older generation of LAN tools through higher P2P direct-connection hole-punching rates and automatic virtual adapter priority adjustment.

4. A Veteran's Tribute

Although Hamachi has faded from the mainstream stage, its classic two-column little window, its 25.x.x.x virtual addresses, and the elation of seeing a friend's remote computer light up green for the first time have become an irreplaceable symbol in the hearts of China's first generation of multiplayer gamers.