master
parent
9c937c31c2
commit
6b5bc5049e
|
@ -44,7 +44,7 @@ if [ $BLOCKEDIP ]; then
|
||||||
echo -ne "\n"
|
echo -ne "\n"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $CLAMPMSS ]; then
|
if [ "$CLAMPMSS" ]; then
|
||||||
echo "Clamping MSS to PMTU..."
|
echo "Clamping MSS to PMTU..."
|
||||||
for i in $CLAMPMSS; do
|
for i in $CLAMPMSS; do
|
||||||
$IPTABLES -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS \
|
$IPTABLES -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS \
|
||||||
|
@ -198,7 +198,7 @@ if [ $IPV6 ]; then
|
||||||
echo -ne "\n"
|
echo -ne "\n"
|
||||||
|
|
||||||
|
|
||||||
if [ $CLAMPMSSIPV6 ]; then
|
if [ "$CLAMPMSSIPV6" ]; then
|
||||||
echo "Clamping IPV6 MSS to PMTU..."
|
echo "Clamping IPV6 MSS to PMTU..."
|
||||||
for i in $CLAMPMSSIPV6; do
|
for i in $CLAMPMSSIPV6; do
|
||||||
$IP6TABLES -A FORWARD -p tcp --tcp-flags SYN,RST SYN \
|
$IP6TABLES -A FORWARD -p tcp --tcp-flags SYN,RST SYN \
|
||||||
|
|
Loading…
Reference in New Issue