Skip to main content

Mesh Networking

GateKey mesh networking provides hub-and-spoke topology for site-to-site VPN connectivity.

Mesh Networking

Overview

Mesh Hub-and-Spoke Topology

  • Hub: Central mesh server that aggregates connections
  • Spokes: Remote site gateways that connect to the hub
  • Users: VPN clients who connect to access spoke networks

Network Topology View

The Topology page provides a visual representation of your mesh network:

Network Topology

The topology map shows:

  • Users - Connected VPN clients
  • Hub - Central mesh hub with public endpoint, tunnel IP, and subnet
  • Spokes - Remote site gateways with their tunnel IPs and advertised routes

This view helps administrators understand the current state of the mesh network and troubleshoot connectivity issues.

Connecting to a Mesh Hub

List Available Hubs

gatekey mesh list

Output:

Available Mesh Hubs:
--------------------
✓ primary-hub
Endpoint: hub.example.com:1194
Protocol: UDP
Status: online
Networks: 3 networks available

Connect

gatekey connect --mesh primary-hub

Zero-Trust Access

Mesh networks use the same zero-trust model as regular gateways:

  1. You must be assigned access to the mesh hub
  2. You only receive routes for networks you have access rules for
  3. Traffic to unauthorized destinations is blocked

Viewing Your Routes

After connecting:

gatekey status

The routes shown are the networks you can access through the mesh.

Mesh vs. Gateway

FeatureGatewayMesh Hub
TopologyPoint-to-pointHub-and-spoke
Site-to-siteNoYes
Dynamic routesNoYes (from spokes)
Best forDirect accessMulti-site networks

Requirements

To use mesh networking:

  1. Administrator has configured a mesh hub
  2. You have been granted access to the hub
  3. You have access rules for the networks you need