How it works

Your devices connect to each other. The server only introduces them.

Hallmesh puts your PCs on one private network, wherever they are. This page explains what each part does, in plain words.

The short version

Think of a building with a long hallway. Every PC on your Hallmesh network gets its own door on that hallway, with its own number. Any of your PCs can walk down the hall and knock on another's door, even when the two are really in different cities.

Hallmesh's server is the front desk. It knows which doors exist and tells your devices where to find each other. It does not carry your traffic. Once two devices have been introduced, they talk to each other directly.

Sometimes a network won't let two devices reach each other directly. Then a relay passes the traffic along. It is still encrypted, and the relay can't read it.

How Hallmesh connects two PCs A home PC and an office PC are joined by a solid line: a direct, encrypted connection. Dotted lines run from the Hallmesh server to each PC, because the server only introduces them. Dashed lines run from each PC to a relay, the fallback path used only when a direct connection is blocked. Hallmesh server introduces devices Home PC 100.64.0.1 Office PC 100.64.0.2 Direct, encrypted Relay fallback path
  • Direct. Your traffic goes straight from one PC to the other, encrypted.
  • Introductions. The server tells devices where to find each other. Your traffic doesn't pass through it.
  • Relay. Used only when a direct path is blocked. The traffic stays encrypted.

The pieces

What runs where

Five parts, all in use today.

Hallmesh on each PC

Available

A background service runs the encrypted tunnel and starts with Windows. A small app in the tray shows your devices, lets you switch the connection on or off, and tells you whether each connection is direct or relayed.

The Hallmesh server

Available

Keeps the list of devices, hands out private addresses, checks each new PC's one-time pass and tells devices about each other. It never sees what your devices send to one another.

Accounts and the dashboard

Available

Where you sign in. It knows who you are, which network your devices belong to and who you have invited, and it tells the Hallmesh server which devices may reach each other. It is a separate service from the server that connects your devices.

The relay

Available

A fallback path for when a direct connection is blocked. It also helps devices work out how to reach each other directly. Hallmesh runs its own relay and uses no one else's.

Hallmesh Screen

Available

A remote screen built into the app, reachable only from inside your network. The person at the other PC is asked every time, and a bar with a Stop button stays on their screen while you are connected.

Joining

What happens when a PC joins

It takes about a minute, and you only do the first two steps.

  1. You run Hallmesh Setup on the PC

    Download it from your dashboard and click Install. It sets up the background services and opens Hallmesh.

  2. You sign in

    Click Sign in. Your browser opens, you check the PC's name and click Add this PC. A one-time pass goes straight back to Hallmesh on that same PC.

    Or, without signing in on that PC: create a one-time setup code in the dashboard and paste it into Hallmesh.

  3. The PC makes its own keys

    Hallmesh creates a pair of keys on the PC. The private key never leaves that PC. The public key is sent to the server so other devices can recognise it.

  4. The server adds the PC to your network

    It checks the one-time pass, then gives the PC a private address such as 100.64.0.3 and a private name.

  5. Your devices are introduced

    The server tells your other devices about the new PC, and tells the new PC about them: their public keys and where on the internet each can currently be reached.

  6. They connect to each other

    From here on, your devices talk to one another directly and encrypted. The new PC appears in the device list on your other PCs.

Direct and relayed

Two ways a connection can travel

The app shows which one each device is using, along with the delay in milliseconds. Lower numbers feel quicker.

Direct · 24 ms

Direct

The two devices send traffic straight to each other across the internet. This is the fastest path and the one Hallmesh always tries for.

  • Works on most home and office networks
  • No port forwarding or router changes
  • Nothing in between but the internet itself
Relayed · 61 ms

Relayed

When a network blocks direct connections, each device sends its encrypted traffic to Hallmesh's relay, which passes it on to the other device.

  • Still encrypted from one device to the other
  • The relay can't read what it passes along
  • Slower, because the traffic takes a detour

How a direct connection is made without port forwarding

Most routers block connections that arrive from outside, but allow replies to connections that a PC inside started. Hallmesh uses that.

Each PC first asks Hallmesh's server how its connection looks from the outside. The server passes that information to your other devices. Then both PCs reach out to each other at the same moment. Each router sees a connection its own PC started, lets the reply through, and the two meet in the middle.

When the relay is used

Some networks don't allow that meeting in the middle: strict office firewalls, some hotel and guest Wi-Fi, and some mobile networks. Hallmesh then uses the relay so the connection still works.

A new connection may also start out relayed so that it works straight away, then switch to direct a moment later once a direct path is found.

There is one relay today, in Atlanta in the United States. The further you are from it, the slower a relayed connection will feel.

Addresses and names

A fixed, private address for every PC

Each PC on your network gets a private address and a private name. They stay the same when the PC moves between home, the office and a coffee shop, so you never have to look up where a PC is today.

You can use the address or the name where you would normally type a computer's address, for example in Windows Remote Desktop. The app has a copy button next to each device's address.

Only traffic addressed to your other Hallmesh devices travels through Hallmesh. Web browsing and everything else keep using your normal internet connection. One related detail, about how website names are looked up while Hallmesh is on, is explained on the security page.

Accounts and networks

Every account gets its own network

The first time you sign in, Hallmesh creates your account and a private network to go with it. The PCs you add belong to that network. You can invite other people into it, and they can invite you into theirs.

Signing in needs no password. You type your email address, Hallmesh emails you a 6-digit code, and you type that in.

Networks are kept apart

  • The Hallmesh server holds a rule for each network: its devices may reach each other, and nothing else.
  • A device in someone else's network can't see yours, let alone connect to it.
  • The rules are rebuilt whenever someone joins or leaves, and checked again every five minutes.
  • This was tested on the real server: devices in different accounts could not see or reach each other.

Inside a network there are no finer rules yet. Every device in it can reach every other, so only invite people you trust.

Under the hood

What Hallmesh is built on

The networking engine inside Hallmesh is the open-source Tailscale client, which uses the WireGuard protocol for encryption. Hallmesh changes that engine so it talks only to Hallmesh's own server and relay, and adds its own Windows app and installer on top.

Hallmesh is an independent project. It is not affiliated with or endorsed by Tailscale Inc. WireGuard is a registered trademark of Jason A. Donenfeld.

Open-source notices and credits

Been invited to Hallmesh?

Accept the invitation from your email, sign in, and download Hallmesh from your dashboard. Installing takes about a minute, and the install guide shows each step.

No invitation yet?

Hallmesh is in private early access. For now, only people invited by someone already using Hallmesh can create an account.