diff --git a/lib/iptables.inc b/lib/iptables.inc index 1d7791d..47742a4 100644 --- a/lib/iptables.inc +++ b/lib/iptables.inc @@ -173,7 +173,7 @@ function enable_mss_clamp { [[ ${type} == "fwd" ]] && type="${FwdFilter}" ${debug} ${DebugColor} "${FUNCNAME}: Read: ${interface} ${mss} ${type}" ${VER_IPTABLES} -A ${type} -p tcp --tcp-flags SYN,RST SYN -j TCPMSS \ - --clamp-mss-to-pmtu -o $i -m tcpmss --mss ${mss} + --clamp-mss-to-pmtu -o ${interface} -m tcpmss --mss ${mss} done < "${FWCONFIGDIR}/ipv${IPVER}/mss-clamp.conf" ${debug} ${DebugColor} "${FUNCNAME}: done"