[Openswan Users] vpn connection after internet reconnect

Andreas Lüdtke andi.luedtke at gmx.de
Sun Jan 15 12:55:27 CET 2006

My internet provider is dropping my dsl line every 24 hours. After such a dsl reconnect,
the vpn connection can only be re-established by stopping/starting Openswan.
These are the error messages I get:

Jan 15 05:57:16 (none) kern.warn pluto[6220]: "COMPANY" #25: ISAKMP SA expired (LATEST!)
Jan 15 05:59:10 (none) kern.warn pluto[6220]: "COMPANY" #26: max number of retransmissions
(20) reached STATE_MAIN_I1.  No response (or no acceptable response) to our first IKE
Jan 15 05:59:10 (none) kern.warn pluto[6220]: "COMPANY" #26: starting keying attempt 2 of
an unlimited number
Jan 15 05:59:10 (none) kern.warn pluto[6220]: "COMPANY" #27: initiating Main Mode to
replace #26

I help myself in running a cron job that will stop ipsec before the dsl line disconnects,
and that start ipsec after the dsl is back online.
Is there a better way of doing this (without stopping/starting ipsec)?

More information about the Users mailing list