- if the parameter is found, parts of the native config for protocols will be downloaded (so far only wireguard) and updated - minor refactoring of error handling, now reference are used instead of pointers - removed temp config with allowedIps
21 lines
577 B
Text
21 lines
577 B
Text
@startuml configProcessingOnConnection
|
|
start
|
|
|
|
:connect button clicked;
|
|
:createVpnConfiguration();
|
|
:createVpnConfigurationForProto();
|
|
|
|
if (serverConfig.contains(nativeConfigParametrsStorage)) then (yes)
|
|
:update last_config with data from nativeConfigParametrsStorage;
|
|
else if (serverConfig.contains(last_config)) then (yes)
|
|
:do nothing special;
|
|
else if (serverConfig.contains(admin credentials)) then (yes)
|
|
:generate new native config;
|
|
:save config in last_config;
|
|
else
|
|
:return empty config and error;
|
|
stop
|
|
endif
|
|
:continue connect process;
|
|
stop
|
|
@enduml
|