Meshbound
Meshbound connects enrolled devices over a private IPv4 network. It has clients for Linux, macOS, and Windows, with WireGuard encrypting traffic between them.
Live project: meshbound.hetp.dev
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.
- A deviceJoins its private network
- WireGuardEncrypts the packets
- BridgesCarry copies over available paths
- 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
- WireGuard handles packet encryption; the WebSocket bridges provide transport paths.
- Duplicate removal happens before delivery to WireGuard.
meshbound sshuses enrolled device identities to reach peers inside the private network.- Client configuration keeps the device identity across restarts and upgrades.