iptables is very particular about the order of options with multiport
parent
cbe8ad72c5
commit
fcae1e266f
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue