Page MenuHomeVyOS Platform

Does not possible to reset VPN properly when DMVPN configured
Closed, ResolvedPublicBUG


When DMVPN is configured, sometime strongswan can not apply configuration for daemon is down reasons

vyos@VyOS-Spoke1:~$ restart vpn 
Restarting IPsec process...
connecting to 'unix:///var/run/charon.vici' failed: Connection refused
Error: connecting to 'default' URI failed: Connection refused
strongSwan 5.7.2 swanctl
  swanctl --load-all [--raw|--pretty] [--clear] [--noprompt]
           --help            (-h)  show usage information
           --clear           (-c)  clear previously loaded credentials
           --noprompt        (-n)  do not prompt for passwords
           --raw             (-r)  dump raw response message
           --pretty          (-P)  dump raw response message in pretty print
           --file            (-f)  custom path to swanctl.conf
           --debug           (-v)  set debug level, default: 1
           --options         (-+)  read command line options from file
           --uri             (-u)  service URI to connect to

We need to check that daemon is ready to listen to commands before applying it


Difficulty level
Easy (less than an hour)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)