[Swan] ipsec.conf repath

Paul Wouters paul at nohats.ca
Tue Sep 22 16:44:22 UTC 2020


On Mon, 21 Sep 2020, Mehboob Ansari wrote:

> Please help to provide information on how i can set my ipsec.conf read path other than etc directory in ubuntu.
> 
> I want my system to read ipsec.conf configuration file from different directory than etc, like i want my system read ipsec.conf file
> from this -  ~/opt/usr path then what and where i need to change settings.

Change the systemd ipsec.service file and add "--config /your/path/ipsec.conf" to the pluto start command.
You might want to add others too if you want a non-custom location for
/etc/ipsec.d and /var/lib/ipsec

Paul


More information about the Swan mailing list