- added documentation describing the processing of the server config when trying to open a VPN connection - added documentation describing config for wireguard
20 lines
No EOL
515 B
Text
20 lines
No EOL
515 B
Text
@startuml configProcessingOnConnection
|
|
start
|
|
|
|
:connect button clicked;
|
|
:createVpnConfiguration();
|
|
:createVpnConfigurationForProto();
|
|
|
|
if (serverConfig.contains(lastConfigStorage)) then (yes)
|
|
:download native config from lastConfigStorage;
|
|
else if (serverConfig.contains(last_config)) then (yes)
|
|
:do nothing special;
|
|
else if (serverConfig.contains(admin credentials)) then (yes)
|
|
:generate new native config;
|
|
else
|
|
:return empty config and error;
|
|
stop
|
|
endif
|
|
:continue connect process;
|
|
stop
|
|
@enduml |