Skip to contentSkip to conversation

How to control DF in iptables

DISCUSSION Andrey Tverdokhleb 2 participants 2 messages Nov 17, 2003 – Nov 20, 2003

lore
Share & tools
lore
#0 lore raw

Hi all!

Is there way to enable fragmentation on per-interface or per-IP or per-Whatever basis? I don't want to disable DF globally in ip_no_pmtu_disc, but I want some packets forwarded without DF and fragmented if needed.

Thanks,
Andrey Tverdokhleb

#1 lore raw
Quoted 7 lines · Andrey Tverdokhleb

Hi all!

Is there way to enable fragmentation on per-interface or per-IP or per-Whatever basis?
I don't want to disable DF globally in ip_no_pmtu_disc, but I want some packets forwarded
without DF and fragmented if needed.

The mangle table in postrouting might do what you need (only a guess)?

Antony

Signature · 8 lines
Programming is a Dark Art, and it will always be. The programmer is fighting 
against the two most destructive forces in the universe: entropy and human 
stupidity. They're not things you can always overcome with a "methodology" or 
on a schedule.

 - Damian Conway, Perl God
                                                     Please reply to the list;
                                                           please don't CC me.