Fix a bug with var name, and remove _ (uniformization)
This commit is contained in:
parent
053f3d9c4e
commit
1a17daeba4
|
@ -67,7 +67,7 @@ SSHOK='0.0.0.0/0'
|
|||
SMTPOK='0.0.0.0/0'
|
||||
|
||||
# SMTP secure (port 465 et 587)
|
||||
SMTPSOK=''
|
||||
SMTPSECUREOK=''
|
||||
|
||||
# NTP
|
||||
NTPOK='ntp.evolix.net'
|
||||
|
|
|
@ -271,7 +271,7 @@ for x in $SMTPOK
|
|||
done
|
||||
|
||||
# SMTP secure
|
||||
for x in $SMTP_SECURE_OK
|
||||
for x in $SMTPSECUREOK
|
||||
do
|
||||
$IPT -A INPUT -p tcp ! --syn --sport 465 --dport $PORTSUSER -j ACCEPT
|
||||
$IPT -A INPUT -p tcp ! --syn --sport 587 --dport $PORTSUSER -j ACCEPT
|
||||
|
|
Loading…
Reference in New Issue