design.md: added basic mermaid diagram

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
Nikos Mavrogiannopoulos
2024-05-09 17:33:08 +02:00
parent 92dba6e4f5
commit dd13e5db65

View File

@@ -9,8 +9,27 @@ protocol between them.
# VPN overview
See https://ocserv.openconnect-vpn.net/technical.html
```mermaid
flowchart LR
ms((main server))
wp((worker process))
sm((security module))
user[user]
subgraph root privileges
ms --> sm
sm --> ms
end
subgraph Non privileged/seccomp isolation
ms --> wp
wp --> ms
wp --> sm
sm --> wp
end
user --> wp
wp --> user
```
See also https://ocserv.openconnect-vpn.net/technical.html
## The main process