From 4296796dcca5dcf1daafb3a29d304eb050813625 Mon Sep 17 00:00:00 2001 From: Tobias Date: Tue, 19 Mar 2024 23:33:56 +0100 Subject: [PATCH] Update README.md --- 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