Pfsense Ipsec stop bei Failover
Version vom 31. August 2021, 20:18 Uhr von Thomas.will (Diskussion | Beiträge)
- cat /etc/rc.gateway_alarm
if [ "$alarm_flag" == "1" and $GW == "VODAFONE_DHCP" ]
then
/usr/local/sbin/pfSsh.php playback svc stop ipsec
fi
if [ "$alarm_flag" == "0" and $GW == "VODAFONE_DHCP" ]
then
/usr/local/sbin/pfSsh.php playback svc star ipsec
fi