MyNixOS website logo
option

services.strongswan-swanctl.swanctl.connections.<name>.children.<name>.start_action

Action to perform after loading the configuration.

  • The default of none loads the connection only, which then can be manually initiated or used as a responder configuration.
  • The value trap installs a trap policy, which triggers the tunnel as soon as matching traffic has been detected.
  • The value start initiates the connection actively.

When unloading or replacing a CHILD_SA configuration having a start_action different from none, the inverse action is performed. Configurations with start get closed, while such with trap get uninstalled.

StrongSwan default: "none"

Declarations
Type
null or one of "none", "trap", "start"
Default
null