Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Is your feature request related to a problem? Please describe.
In time Strongswan will remove support for ipsec.conf (could't find a clear path on their end, if there is, it might be good to add a dead line here), in which case the newer swanctl.conf should be used.
Describe the solution you like
Migrate current legacy code to output new style configuration data instead of the current ipsec.conf file.
Currently the ipsec.conf is written here:
|
@file_put_contents("/usr/local/etc/ipsec.conf", str_replace("\t", ' ', $ipsecconf)); |
A challenging part might be the current support for custom includes in :
|
$ipsecconf .= "\ninclude ipsec.opnsense.d/*.conf\n"; |
Describe alternatives you considered
None
Additional context
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Is your feature request related to a problem? Please describe.
In time Strongswan will remove support for
ipsec.conf(could't find a clear path on their end, if there is, it might be good to add a dead line here), in which case the newerswanctl.confshould be used.Describe the solution you like
Migrate current legacy code to output new style configuration data instead of the current ipsec.conf file.
Currently the ipsec.conf is written here:
core/src/etc/inc/plugins.inc.d/ipsec.inc
Line 1754 in c3bae88
A challenging part might be the current support for custom includes in :
core/src/etc/inc/plugins.inc.d/ipsec.inc
Line 1752 in c3bae88
Describe alternatives you considered
None
Additional context