I
I
Igor Petrov2017-12-14 20:21:09
linux
Igor Petrov, 2017-12-14 20:21:09

Packet fragmentation error, what could it be?

Hello!
I ran into such a problem, I have an ipip tunnel that has been thrown, and very often I get such an error in syslog
icmp: xx.xx.xx.xx: fragmentation needed and DF set
and the ports that are thrown on dst ip stop responding, for example 80 and 443.
After reading about the error in Google, they say that either ping is blocked, or that then with MTU.
On the tunnel I have 1480 MTU, the provider has 1500
What could be the problem? and how to fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
Wexter, 2017-12-14
@Wexter

iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question