back to MSS 1200

parent 54e9975c
......@@ -119,7 +119,7 @@ setkey -f "$SETKEY_CONFIG"
# when changing this, remember to change the remove line in `metro` metro_down()!
# TODO: make this configurable
echo "+-- adding iptables MSS rule..."
iptables -t mangle -I FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1328
iptables -t mangle -I FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1200
# setting the port redirects if needed
#
......
......@@ -418,7 +418,7 @@ function metro_down {
# removing MTU MSS rule(s)
echo "+-- removing TCP MSS rule..."
while iptables -t mangle -D FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1328 2>/dev/null; do sleep 1; done
while iptables -t mangle -D FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1200 2>/dev/null; do sleep 1; done
#
# cleaning up any alternative port iptables rules...
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment