-2

I need help to set DF flags on all udp traffic I was able to do that on ubuntu with repository on github (don't fragment iptables) but i can't compile it on openwrt is there another way to set DF flags other than iptables

Thanks in advance

  • Why would you want to do this? You could potentially break a lot of stuff for doing this... What happens if your upstream provider sets their MTU to 1492 and your setting the DF bit on a packet that is 1500 bytes xyproblem.info – jstuart-tech May 25 at 11:04
  • Because my isp block packet fragmentation – Hosni May 26 at 21:38
  • Ok, At what size does your packet start getting fragmented? Usually, it will be between 1472 and 1492. Just set the MTU size of the WAN interface of the router to that – jstuart-tech May 26 at 23:02