iptables is very particular about the order of options with multiport
Этот коммит содержится в:
родитель
cbe8ad72c5
Коммит
fcae1e266f
@ -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"
|
||||
|
||||
Загрузка…
x
Ссылка в новой задаче
Block a user