You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
485 B
Plaintext
29 lines
485 B
Plaintext
2 years ago
|
@startuml
|
||
|
autonumber
|
||
|
hide footbox
|
||
|
|
||
|
footer "RoutingTableToWg | Ruakij"
|
||
|
|
||
|
title "Add Route"
|
||
|
|
||
|
participant System
|
||
|
control Program
|
||
|
boundary Wireguard
|
||
|
|
||
|
System ++
|
||
|
Wireguard ++
|
||
|
System ->> Program ++ : Add Route
|
||
|
Program -> Program : Filter Route
|
||
|
|
||
|
Program -> Wireguard ++ : Get current State
|
||
|
Wireguard -> Program -- : State
|
||
|
|
||
|
Program -> Program : Find Peer with Gateway\nfrom AllowedIPs
|
||
|
|
||
|
Program -> Wireguard ++ : Add Dst-Net to\nAllowedIPs from Peer
|
||
|
Wireguard --> Program --
|
||
|
|
||
|
Program --
|
||
|
|
||
|
@enduml
|