Skip to contentSkip to conversation

iptables and mtu

DISCUSSION lee Leahu 2 participants 2 messages Jun 10, 2002

lore
Share & tools
lore

lee Leahu

author
#0 lore raw

hi, i solved this on my adsl conn and i thought you could use it.

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

basically what this command does, is tell everyone to *NERVER* send any packet with mtu size larger than it can support.

---------- Original Message ----------------------------------
From: "Jörgen" Danielsson <[email protected]>
Date: Mon, 10 Jun 2002 12:49:25 -0700 (PDT)

Quoted 33 lines
Quoted 9 lines

What is the MTU on the firewall interface connected to the ADSL ?

I would have thought that if this was set to 1492, then things should sort
themselves out quite transparently...

ppp0 is 1492 and its "connected" to eth0 that is 1500, and eth1 is connected to local net and it is 1500

Quoted 4 lines

You *are* allowing the appropriate ICMP messages into / out of / through your
firewall box, aren't you ?

Uhmmm, no idea actually, hehe, i just configures it to reject or accept access on certain ports, not dropping every package coming that isn't matching a certain port (hmm, hope anyone understands that sentence). Why lock down everything when i know what service that is on the linux and on ever computer behind it.

/Jörgen

__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

#1 lore raw

Thanks

Gonna try that, sounds promising =)

/Jörgen

Quoted 5 lines · --- lee Leahu

hi, i solved this on my adsl conn and i thought you could use it.

Quoted 10 lines

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

basically what this command does, is tell everyone to *NERVER* send any packet with mtu size larger than it can support.

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com