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.

Šī revīzija ir iekļauta:
ChiefGyk
2016-06-29 21:07:11 -04:00
vecāks a1698f82ef
revīzija 67e40c07b8
6 mainīti faili ar 14 papildinājumiem un 31 dzēšanām
+1 -4
Parādīt failu
@@ -102,7 +102,4 @@ echo "Done!"
# remove the spam list
unlink $FILE
# Persistence
ipset save > /etc/iptables/rules.ipsets
iptables-save > /etc/iptables/rules.v4
ip6tables-save > /etc/iptables/rules.v6
/etc/init.d/iptables-persistent save