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