* Re: iptables and mtu
@ 2002-06-10 19:58 lee Leahu
2002-06-10 20:14 ` =?unknown-8bit?q?J=F6rgen?= Danielsson
0 siblings, 1 reply; 5+ messages in thread
From: lee Leahu @ 2002-06-10 19:58 UTC (permalink / raw)
To: netfilter, Jörgen Danielsson
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 <jorgen_d@yahoo.com>
Date: Mon, 10 Jun 2002 12:49:25 -0700 (PDT)
>
>
>> 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
>
>>
>> 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
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: iptables and mtu
2002-06-10 19:58 iptables and mtu lee Leahu
@ 2002-06-10 20:14 ` =?unknown-8bit?q?J=F6rgen?= Danielsson
0 siblings, 0 replies; 5+ messages in thread
From: =?unknown-8bit?q?J=F6rgen?= Danielsson @ 2002-06-10 20:14 UTC (permalink / raw)
To: lee, netfilter
Thanks
Gonna try that, sounds promising =)
/Jörgen
--- lee Leahu <lee@ricis.com> wrote:
>
> 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.
>
>
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* iptables and mtu
@ 2002-06-10 19:28 =?unknown-8bit?q?J=F6rgen?= Danielsson
2002-06-10 19:41 ` Antony Stone
0 siblings, 1 reply; 5+ messages in thread
From: =?unknown-8bit?q?J=F6rgen?= Danielsson @ 2002-06-10 19:28 UTC (permalink / raw)
To: netfilter
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: iptables and mtu
2002-06-10 19:28 =?unknown-8bit?q?J=F6rgen?= Danielsson
@ 2002-06-10 19:41 ` Antony Stone
2002-06-10 19:49 ` =?unknown-8bit?q?J=F6rgen?= Danielsson
0 siblings, 1 reply; 5+ messages in thread
From: Antony Stone @ 2002-06-10 19:41 UTC (permalink / raw)
To: netfilter
On Monday 10 June 2002 8:28 pm, "Jörgen" Danielsson wrote:
> 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...
> 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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: iptables and mtu
2002-06-10 19:41 ` Antony Stone
@ 2002-06-10 19:49 ` =?unknown-8bit?q?J=F6rgen?= Danielsson
0 siblings, 0 replies; 5+ messages in thread
From: =?unknown-8bit?q?J=F6rgen?= Danielsson @ 2002-06-10 19:49 UTC (permalink / raw)
To: netfilter
> 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
>
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-06-10 20:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-10 19:58 iptables and mtu lee Leahu
2002-06-10 20:14 ` =?unknown-8bit?q?J=F6rgen?= Danielsson
-- strict thread matches above, loose matches on Subject: below --
2002-06-10 19:28 =?unknown-8bit?q?J=F6rgen?= Danielsson
2002-06-10 19:41 ` Antony Stone
2002-06-10 19:49 ` =?unknown-8bit?q?J=F6rgen?= Danielsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox