Przeglądaj źródła

Default iptables command

Laurent HUBERT 3 lat temu
rodzic
commit
a9fad18a8a
1 zmienionych plików z 3 dodań i 2 usunięć
  1. 3 2
      scripts/lfirewall

+ 3 - 2
scripts/lfirewall

@@ -41,6 +41,9 @@ REMOTE_UDP_SERVICES="53" # DNS
 # management network but remove it from TCP_SERVICES
 # management network but remove it from TCP_SERVICES
 SSH_PORT="22"
 SSH_PORT="22"
 
 
+# Default IP_TABLES command path
+IP_TABLES="/sbin/iptables"
+
 CONFIGURATION_FILE=/etc/lfirewall/lfirewall.conf
 CONFIGURATION_FILE=/etc/lfirewall/lfirewall.conf
 if [ -f $CONFIGURATION_FILE ] ; then
 if [ -f $CONFIGURATION_FILE ] ; then
 	set +u
 	set +u
@@ -48,8 +51,6 @@ if [ -f $CONFIGURATION_FILE ] ; then
 	set -u
 	set -u
 fi
 fi
 
 
-IP_TABLES="/sbin/iptables"
-
 if ! [ -x $IP_TABLES ]; then
 if ! [ -x $IP_TABLES ]; then
 	exit 0
 	exit 0
 fi
 fi