summaryrefslogtreecommitdiffstats
path: root/Bash
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2016-12-08 13:55:27 +0100
committerThomas Lange <code@nerdmind.de>2016-12-08 13:55:27 +0100
commit6c3b5af92828255b1f8f906352dc67b0c27fb164 (patch)
treed517363ad2258c5b10c1d1c12f8933bf0ea08df2 /Bash
parentefc2bb00edede604b03cd94e04ba40bdc087015f (diff)
downloadsnippets-6c3b5af92828255b1f8f906352dc67b0c27fb164.tar.gz
snippets-6c3b5af92828255b1f8f906352dc67b0c27fb164.tar.xz
snippets-6c3b5af92828255b1f8f906352dc67b0c27fb164.zip
Permanently saving the IPTables rules is now disabled by default.
Diffstat (limited to 'Bash')
-rwxr-xr-xBash/iptables-whiteblacklisting.sh6
1 files changed, 3 insertions, 3 deletions
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