1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-13 17:17:23 +01:00

moved persistence to front, pulled iptables-persistence from another github and forked it. Using that in /etc/init.d/iptables-persistent so it handles ipset as well to make things easier. Also allows you to load and save much easier for both iptables and ipset.

This commit is contained in:
ChiefGyk
2016-06-29 21:07:11 -04:00
parent a1698f82ef
commit 67e40c07b8
6 changed files with 14 additions and 31 deletions

View File

@@ -3,4 +3,5 @@ curl http://www.okean.com/antispam/iptables/rc.firewall.korea > /tmp/korea.sh
chmod +x /tmp/korea.sh
source /tmp/korea.sh
rm -f /tmp/korea.sh
invoke-rc.d iptables-persistent save
/etc/init.d/iptables-persistent save