[strongSwan] possibility using system variables as leftid

Martin Willi martin at strongswan.org
Fri Jan 16 10:30:59 CET 2015


Hi Alex,

> Did someone try using system variables as leftid?

>     leftid=$YUM0 at mycompany.vpn

No, variables in ipsec.conf are not supported. You'd have to generate
the file before startup using a custom script.

Alternatively, you may have a look at the vici configuration interface
[1]. It allows you to programmatically load configurations, for example
with a ruby script.

Regards
Martin

[1]https://github.com/strongswan/strongswan/blob/master/src/libcharon/plugins/vici/README.md



More information about the Users mailing list