[Swan] How to configure LibreSwan to auto-restart IPSec-tunnel when it go down?

yuryb yuryb at ukr.net
Wed Mar 20 07:41:42 UTC 2019

I solved the problem by adding simple script to cron jobs:
if [ -z "$(ipsec status | grep 'vpn-uz.*erouted')" ]; then
        ipsec auto --up vpn-uz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libreswan.org/pipermail/swan/attachments/20190320/628070d1/attachment.html>

More information about the Swan mailing list