Skip to contentSkip to conversation

iptables and mtu

DISCUSSION J�rgen Danielsson 2 participants 3 messages Jun 10, 2002

lore
Share & tools
lore
#0 lore raw

I'm using an adsl connection and have linux as router/firewall. The problem is that adsl uses a mtu that is 1492, standard for ethernet is 1500.

Is there a way to make iptables "convert" packages to the masqed net to a mtu of 1500 instead ? Right now i have to manually change the mtu to 1490 on the computers behind the linux router to be able to access all websites.

/Jörgen

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

#1 lore raw
Quoted 6 lines · Jörgen" Danielsson

I'm using an adsl connection and have linux as router/firewall. The problem is that adsl uses a mtu that is 1492, standard for ethernet is 1500.

Is there a way to make iptables "convert" packages to the masqed net to a mtu of 1500 instead ?

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...

Quoted 3 lines

Right now i have to manually change the mtu to 1490 on the computers behind the linux router to be able to access all websites.

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

Antony.

#2 lore raw
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