Suggestion regarding MTU issues #16
Replies: 8 comments 6 replies
-
Very nice - thanks for sharing - I will move this to discussion so it stays up for others to see. thank you again. |
Beta Was this translation helpful? Give feedback.
-
More on this topic: https://blog.vitlabuda.cz/2022/10/15/clamping-tcp-mss-using-iptables.html I am adding this to iptables firewall rules and will test for some clients having issues with normal MTU size. |
Beta Was this translation helpful? Give feedback.
-
thanks again for sharing. One thought that comes to mind, optimal choices depend on the entire path between client and server right - so each client-server path can be different. So I wonder if PMTU discovery [1] is on on both ends under your controi (obviously other routers along the path you have no control over) i.e. this setting should be 0 :
|
Beta Was this translation helpful? Give feedback.
-
Side note - I would encourage you to move from iptables to nftables (its far superior) |
Beta Was this translation helpful? Give feedback.
-
In case of interest there are a couple of sample nftables scripts in my tech blog:
And info about setting maxseg size (MSS) here:
|
Beta Was this translation helpful? Give feedback.
-
Glad you found it useful :) |
Beta Was this translation helpful? Give feedback.
-
Now we are iptables free! Just to share with you our nftables conf.
|
Beta Was this translation helpful? Give feedback.
-
Congrats that's terrific!! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Gene,
In your doc you mentioned an issue with MTU size happened in a hotel. I have encountered this as well. Here is what I am reading and going to do my test:
https://gist.github.com/nitred/f16850ca48c48c79bf422e90ee5b9d95
FYI. Cheers!
Jack
Beta Was this translation helpful? Give feedback.
All reactions