GraphWAN is a centrally managed overlay network. Draw connections between machines in the web panel and assign weights to choose which paths traffic takes. Agents forward encrypted packets directly or through other agents in the graph.
Download a release · Quick start · Docker Compose
- Inspect a route hop by hop, see link latency and bandwidth, and switch between the topology diagram and a 3D globe.
- Connect peers across NAT using STUN and hole punching. Each edge can use UDP, TCP, QUIC, WebSocket or gRPC.
- Advertise a subnet through an agent, or connect a phone using a standard WireGuard client.
Give the agent the GitHub repository link and let it handle everything for you.
export GRAPHWAN_ADMIN_PASSWORD='replace-with-a-unique-password'
./graphwan server --listen 0.0.0.0:8443 --tls-hosts controller.example.net --data-dir ./graphwan-dataTrust graphwan-data/ca.pem on your admin machine and open https://controller.example.net:8443. Under Agents → Enroll agent, create an invitation and save it on the machine you want to connect.
sudo ./graphwan agent enroll --invitation-file invitation.txt --data-dir /var/lib/graphwan-agent
sudo ./graphwan agent run --data-dir /var/lib/graphwan-agentUnder Networks, create a network, add two agents as nodes and draw an edge between them.
Copy compose.yaml to each Linux host. On the server, set GRAPHWAN_TLS_HOSTS in .env to your controller's hostname.
export GRAPHWAN_ADMIN_PASSWORD='replace-with-a-unique-password'
docker compose up -d server
docker compose cp server:/data/server/ca.pem ./ca.pemTrust ca.pem and create an invitation as in the Agent step. On each agent host:
docker compose run --rm -T agent agent enroll --data-dir /data/agent \
--name "$(hostname)" --invitation-file - < invitation.txt
docker compose up -d agent