mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-28 10:33:21 +01:00
Correct MSS IPSEC rule insertion
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1694 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
2caf2acd88
commit
86b24f688e
@ -1751,7 +1751,7 @@ setup_ipsec() {
|
|||||||
eval local policy=\$${1}_policy
|
eval local policy=\$${1}_policy
|
||||||
if [ "$policy" != NONE ]; then
|
if [ "$policy" != NONE ]; then
|
||||||
ensurechain $1
|
ensurechain $1
|
||||||
run_iptables -A $1 -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss $mss
|
run_iptables -I $1 -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss $mss
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user