From 6c3b5af92828255b1f8f906352dc67b0c27fb164 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Thu, 8 Dec 2016 13:55:27 +0100 Subject: Permanently saving the IPTables rules is now disabled by default. --- Bash/iptables-whiteblacklisting.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Bash') diff --git a/Bash/iptables-whiteblacklisting.sh b/Bash/iptables-whiteblacklisting.sh index 749f00d..643a59f 100755 --- a/Bash/iptables-whiteblacklisting.sh +++ b/Bash/iptables-whiteblacklisting.sh @@ -150,7 +150,7 @@ ${IPTABLES_V4} --append INPUT --source 192.168.1.0/24 --jump ACCEPT ${IPTABLES_V6} --append INPUT --source fe80::/64 --jump ACCEPT #=============================================================================== -# Save IPTables configuration permanent +# Save IPTables configuration permanent [check the correct file paths] #=============================================================================== -[ ${IPTABLES_SAVE_V4} ] && ${IPTABLES_SAVE_V4} > /etc/iptables/rules.v4 -[ ${IPTABLES_SAVE_V6} ] && ${IPTABLES_SAVE_V6} > /etc/iptables/rules.v6 \ No newline at end of file +#[ ${IPTABLES_SAVE_V4} ] && ${IPTABLES_SAVE_V4} > /etc/iptables/rules.v4 +#[ ${IPTABLES_SAVE_V6} ] && ${IPTABLES_SAVE_V6} > /etc/iptables/rules.v6 \ No newline at end of file -- cgit v1.2.3