Developing lightweight computation at the DSG edge

Commit 80aa2f41 authored by p4u's avatar p4u
Browse files

Added temporal clamp_tcpmss script to solve tcp mtu/mss problem with lan clients

parent 3fa358b6
if cat /etc/firewall.user | grep -e "^# Clamp MSS TCP rule to fix MTU problems"; then exit 0; fi
cat << EOF >> /etc/firewall.user
# Clamp MSS TCP rule to fix MTU problems
iptables -A FORWARD -p tcp -i br-lan ! -d -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
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