Cloudverg Console
PricingDocsSign in

VergMesh

How VergMesh works

VergMesh joins machines in different clouds and offices into one private network. Each machine runs a small agent, makes its own WireGuard keys and gets an address from the network's range. After that they talk to each other directly, encrypted, as if they shared a LAN.

The words

WordMeaning
NetworkA private address range, for example 10.77.0.0/16, and the nodes that hold an address in it.
NodeOne machine. A gateway is a node that also forwards for the network behind it.
HubA node with a public address that relays for nodes that cannot reach each other.
RouteA network behind a gateway, such as an office LAN, that every other node may reach through it. A route carries traffic only after a person approves it.

Who connects to whom

A node that has a public address and an open UDP port accepts connections. A node behind NAT can only dial out. Two nodes connect directly when at least one of them accepts connections. Two nodes that are both behind NAT send their traffic through a hub.

  • Full mesh: every pair that can connect directly does. Lowest delay.
  • Hub and spoke: every node connects only to a hub. Simple to firewall, one more hop.
  • Automatic: full mesh up to eight nodes, then hub and spoke when you have a hub.

With more than one hub, nodes use the first hub that is online. If it stops reporting, they move to the next one within about two minutes.

What happens when the console is down

Nothing. The console tells nodes who their peers are; it does not carry their traffic. Tunnels that are up stay up, and nodes keep the last configuration they were given until they can ask again.