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:
parent
89274c6411
commit
d52f11710c
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user