1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-29 20:57:22 +02:00

replaced iptables-persistent with another iptables-persistent in /etc/init.d, this one also will save ipsets and allow persistence upon reboot. Cleaned up some code, changed debconf variables at iptables-persistent install to false. Still installs iptable-persistant through apt, just to get rid of all the foundation work for it to run, but is quickly replaced.

This commit is contained in:
ChiefGyk
2016-06-29 21:35:37 -04:00
parent 9b3a158b72
commit 52410106e9
6 changed files with 194 additions and 22 deletions

View File

@@ -3,5 +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
ipset save > /etc/ipset.up.rules
iptables-save > /etc/iptables.up.rules
/etc/init.d/iptables-persistent save