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:
@@ -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
|
||||
|
Reference in New Issue
Block a user