From acf08a932caf258b03681e72b6feadbf6622e7e6 Mon Sep 17 00:00:00 2001 From: Tobias Date: Sun, 21 Apr 2024 20:55:08 +0200 Subject: [PATCH] Update README.md (#134) --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 911aeb8..de3d878 100644 --- a/README.md +++ b/README.md @@ -27,11 +27,15 @@ wgkex is a WireGuard key exchange and management tool designed and run by FFMUC. WireGuard Key Exchange is a tool consisting of two parts: a frontend (broker) and a backend (worker). These components communicate to each other via MQTT - a messaging bus. - - - - Architectural Diagram - +```mermaid +graph TD; + A{"client"} -->|"RESTful API"| G("WGKex Broker") + G -->|"publish"| B("Mosquitto") + C("WGKex Worker") -->|"Subscribe"| B + C -->|"Route Injection"| D["netlink (pyroute2)"] + C -->|"Peer Creation"| E["wireguard (pyroute2)"] + C -->|"VxLAN FDB Entry"| F["VXLAN FDB (pyroute2)"] +``` ### Frontend broker