[Swan] How to configure LibreSwan to auto-restart IPSec-tunnel when it go down?
yuryb at ukr.net
Mon Mar 18 08:09:11 UTC 2019
On your advice, I set the "keyingtrays = 0" option on Friday and restarted LibreSwan. But this morning I discovered that L2TP-connection is disabled again. I executed the command "ipsec auto --up myvpn" and the connection was restored. That is, the problem remains. What else can be done to solve the problem?
Auto=omdemand or auto=start but leaves keyingtries to 0 (infinite)
Sent from mobile device
> On Mar 15, 2019, at 09:52, yuryb <yuryb at ukr.net> wrote:
> Good for you!
> I configured L2TP/IPSec tunnel, which should work around the clock. But, when I come to work in the morning, I find that the tunnel is disconnected. At the same time, if I run the command "ipsec auto --up myvpn", the connection restores.
> How to automate reconnection using LibreSwan?
> My configuration:
> config setup
> conn myvpn
> Swan mailing list
> Swan at lists.libreswan.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Swan