Browse Source

Fix a bug with var name, and remove _ (uniformization)

systemd
Gregory Colpart 10 years ago
parent
commit
1a17daeba4
  1. 2
      firewall.rc
  2. 2
      minifirewall

2
firewall.rc

@ -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'

2
minifirewall

@ -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…
Cancel
Save