Browse Source

iptables is very particular about the order of options with multiport

tags/v2.01a1
bbruns 7 years ago
parent
commit
fcae1e266f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/iptables.inc

+ 1
- 1
lib/iptables.inc View File

@@ -475,7 +475,7 @@ function enable_services {
[[ ${address} == "-" ]] && address=""
[[ ${srcaddress} == "-" ]] && srcaddress=""
${VER_IPTABLES} -A ${InFilter} ${service} ${protocol} ${interface} ${address} ${srcaddress} ${conntrack_state} -j ACCEPT
${VER_IPTABLES} -A ${InFilter} ${protocol} ${service} ${interface} ${address} ${srcaddress} ${conntrack_state} -j ACCEPT
done < "${FWCONFIGDIR}/ipv${IPVER}/services.conf"
${debug} ${DebugColor} "${FUNCNAME}:${DEFAULT_COLOR} done"


Loading…
Cancel
Save