1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-21 03:02:09 +00:00

fixed iptables-persistent saving in the cron.daily for sync-fail2ban

This commit is contained in:
ChiefGyk 2016-06-28 16:02:43 -04:00
parent 89274c6411
commit d52f11710c

View File

@ -55,8 +55,8 @@ fi
diff -wbay $blacklistf.last $blacklistf > $blacklistf.diff
# save IPtable rules
invoke-rc.d iptables-persistent save
iptables-save > /etc/iptables/rules.v4
ip6tables-save > /etc/iptables/rules.v6
# Saves a copy of current iptables rules, should you like to check them later.