On Wed, 10 Jul 2024, Mamta Gambhir via Swan wrote:

I am currently using implicit connections private-or-clear in opportunistic 
mode.auto=route is set in .conf files for the
connections.

I am just exploring the best way if any other than start up scripts (NM 
dispatcher or udev rules) to start the service on
boot up Is there any option or possibility to add in config setup section so 
ipsec service is started at boot as these
connections are done at IPsec startup only.

auto=route is the same as auto=ondemand, so the tunnels will come up
when packet flow triggers it. The ipsec service itself needs to
be enabled for this to happen, eg systemctl --enable ipsec.service

Once the ipsec service is started, it will load the opportunistic
connections to trigger on demand.

Paul
_______________________________________________
Swan mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan

Reply via email to