Right now if vpnexiter restarts, it looses state of the VPN. If the VPN is up, we don't know the exit chosen because we can't parse the output of commands like ipsec statusall. Hence, we should be able to read that live status to figure out our current configuration rather than relying on in-memory state.
Right now if vpnexiter restarts, it looses state of the VPN. If the VPN is up, we don't know the exit chosen because we can't parse the output of commands like
ipsec statusall
. Hence, we should be able to read that live status to figure out our current configuration rather than relying on in-memory state.