mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-26 19:27:23 +01:00
fixed iptables-persistent saving in the cron.daily for sync-fail2ban
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user