Pfsense Ipsec stop bei Failover: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „<pre> 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 == "VO…“)
(kein Unterschied)

Version vom 31. August 2021, 16:02 Uhr

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