iptables is very particular about the order of options with multiport

master
bbruns 2014-04-06 17:18:30 +00:00
parent cbe8ad72c5
commit fcae1e266f
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ function enable_services {
[[ ${address} == "-" ]] && address="" [[ ${address} == "-" ]] && address=""
[[ ${srcaddress} == "-" ]] && srcaddress="" [[ ${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" done < "${FWCONFIGDIR}/ipv${IPVER}/services.conf"
${debug} ${DebugColor} "${FUNCNAME}:${DEFAULT_COLOR} done" ${debug} ${DebugColor} "${FUNCNAME}:${DEFAULT_COLOR} done"