Pfsense Ipsec stop bei Failover: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 1: | Zeile 1: | ||
*cat /etc/rc.gateway_alarm | *cat /etc/rc.gateway_alarm | ||
| − | <syntaxhighlight lang="bash" | + | <syntaxhighlight lang="bash"> |
if [ "$alarm_flag" == "1" and $GW == "VODAFONE_DHCP" ] | if [ "$alarm_flag" == "1" and $GW == "VODAFONE_DHCP" ] | ||
then | then | ||
Version vom 31. August 2021, 20:18 Uhr
- 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