Meshbound

Meshbound connects enrolled devices over a private IPv4 network. It has clients for Linux, macOS, and Windows, with WireGuard encrypting traffic between them.

Go, WireGuard, WebSockets

How the connection works

A device joins a private network using its own identity and an enrollment key. Clients keep independent TLS WebSocket connections to the bridges and mirror encrypted packets over the available paths.

The path between two enrolled devices
  1. A deviceJoins its private network
  2. WireGuardEncrypts the packets
  3. BridgesCarry copies over available paths
  4. A peerDeduplicates and receives traffic

The receiving client removes duplicate packets before passing them to WireGuard. The application can use multiple relay paths while presenting one private network to the device.

Using the client

The client includes native network adapters, background services, built-in SSH, and TCP forwarding. A browser dashboard handles networks and enrollment; a local dashboard manages the client.

A Linux enrollment looks like this. The join command prompts for the enrollment key; it is not embedded in the command.

sudo meshbound join \
  --server https://meshbound.hetp.dev \
  --name laptop \
  --config /var/lib/meshbound/device.json

sudo meshbound up \
  --config /var/lib/meshbound/device.json

A few implementation details