2.13 Core 65 and 66 IPSec connection breaks down after one hour

Help on building IPFire & Feature Requests
AngelKing
Posts: 25
Joined: January 26th, 2012, 9:58 am

Re: 2.13 Core 65 and 66 IPSec connection breaks down after one hour

Post by AngelKing » February 25th, 2013, 10:06 am

No problem, the script is very simple  8)

Code: Select all

#!/bin/bash

/usr/bin/ping -c 1 123.123.123.123 > /dev/null
if [ $? -eq 0 ]; then
echo "Ping ok"
else
echo "Ping Failed"
/usr/local/bin/ipsecctrl S
echo "IPSEC restarded on "$(date +%d-%m-%Y-"%T") >> /root/logfile.log
fi


Now i have resaved the ipsec configuration and now it restarts after 6 hours

IPSEC restarded on 21-02-2013-23:15:13
IPSEC restarded on 22-02-2013-21:05:13
IPSEC restarded on 23-02-2013-09:05:13
IPSEC restarded on 23-02-2013-15:10:13
IPSEC restarded on 24-02-2013-09:05:13
IPSEC restarded on 24-02-2013-15:10:13
IPSEC restarded on 24-02-2013-21:15:13

lunzet
Posts: 14
Joined: November 15th, 2010, 10:05 am

Re: 2.13 Core 65 and 66 IPSec connection breaks down after one hour

Post by lunzet » March 3rd, 2013, 7:03 pm

same issue here with sudden deaths of my ipsec net2net connection.
any further hints on how to get it resolved?
Image

Jan_B
Posts: 83
Joined: June 28th, 2011, 10:43 am
Location: Bremen

Re: 2.13 Core 65 and 66 IPSec connection breaks down after one hour

Post by Jan_B » March 3rd, 2013, 9:51 pm

Downgrade is the only way at the moment...
Image
Image
Image
Image

ceehota1a
Posts: 52
Joined: March 14th, 2013, 10:46 pm

Re: 2.13 Core 65 and 66 IPSec connection breaks down after one hour

Post by ceehota1a » March 17th, 2013, 1:55 pm

I switched all my connections from IKEv1 to IKEv2 and this seems to solve the problem of having to manually restart the connections when they drop. At least you can still have your vpn's running correctly until the bug is corrected for IKEv1, then switch back to it at that time.

Post Reply