1
0
mirror of https://github.com/tomeshnet/prototype-cjdns-pi synced 2025-10-05 23:52:49 +02:00

MSS clamp ipv6

This commit is contained in:
Benedict Lau
2017-04-01 21:59:15 -04:00
parent f6f0477cb9
commit 47c51ba85d

View File

@@ -2,6 +2,7 @@
# MSS clamp to circumvent issues with Path MTU Discovery
iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
ip6tables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
# Forward all IPv4 traffic from the internal network to the eth0 device and mask with the eth0 external IP address
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE