TotalGriffLock / udmp-jumbo-frames-ppp

Shell script to configure and monitor the baby jumbo frame configuration on the UDM Pro WAN interface
7 stars 2 forks source link

Direct set TCPMSS in ip tables #6

Open matuszeg opened 1 year ago

matuszeg commented 1 year ago

I ran into a lot of issues with my udm pro and MSS. the ubiquiti interface settings have an option to set this but it was flaky at best and completely wrong almost always. To get around this, I just began to set the ip tables values directly myself when updating the MTU settings.

So i incorporated that into the script I have been using for it. Then i discovered your scripts which seemed slightly more robust, so I figured I would incorporate this as an option for anyone else who ran into the problem.

I gated this logic behind a boolean, SET_MSS so that it would not be on by default for others who already use this