[strongSwan-dev] Failed to create configuration in swanctl.conf

Tobias Brunner tobias at strongswan.org
Wed Feb 15 12:11:31 CET 2017


Hi Sreenivas,

> I am creating a pool in swanctl.conf using VICI plugin in python, But
> the pool is creating into in-memory. How can i create swanctl.conf file
> using VICI plugin and which methos do i need to use.

swanctl.conf is the configuration file parsed by the swanctl tool, which
in turn uses VICI to configure the IKE daemon.  Using VICI directly
(e.g. via Python) has absolutely nothing to do with swanctl or
swancl.conf and simply configures the daemon at runtime like swanctl
does, see [1] for details.  So when using VICI directly you have to
persist the config yourself.  Alternatively, but not recommended, write
swanctl.conf files that you then load into the daemon with swanctl.

Regards,
Tobias

[1] https://wiki.strongswan.org/projects/strongswan/wiki/Vici



More information about the Dev mailing list