Browse Source

Fix for mss clamping

Brielle Bruns 2 years ago
parent
commit
c2fe6eb39c
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      lib/iptables.inc

+ 1
- 0
lib/iptables.inc View File

@@ -188,6 +188,7 @@ function enable_mss_clamp {
188 188
 			[[ ${msssize} == "-" ]] && msssize="--clamp-mss-to-pmtu"
189 189
 			#[[ ${interface} != "all" ]] && interface="-o ${interface}"
190 190
 			[[ ${type} == "${OutFilter}" ]] && interface="-o ${interface}"
191
+			[[ ${type} == "${FwdFilter}" ]] && interface="-o ${interface}"
191 192
 			[[ ${isallinterfaces} == "yes" ]] && interface=""
192 193
 			${debug} ${DebugColor} "${FUNCNAME}:${DEFAULT_COLOR} Read: ${interface} ${mss} ${type} ${msssize}"
193 194
 			${VER_IPTABLES} -A ${type} -p tcp --tcp-flags SYN,RST SYN -j TCPMSS \

Loading…
Cancel
Save