Skip to contentSkip to conversation

Some webpages inaccessible through IPTables

DISCUSSION Sven Bolt 6 participants 7 messages Feb 7, 2003 – Feb 8, 2003

lore
Share & tools
lore

Sven Bolt

author
#0 lore raw

Hello,
I saw the problem already on the list, but ther was no solution to it:
I use an iptables-gateway 1.2.6a on debian with kernel 2.4.18 with just

echo 1 > /proc/.../ip_forward
and iptables --table at -A POSTROUTING -j MASQUERADE

I can access through this gateway most webpages, but for example www.ebay.com among several others I can't access.
What could the problem be?

Thanks for any help

Sven Bolt

Signature · 5 lines
  Sven Bolt
  [email protected]

-- 
http://fastmail.fm - The professional email service
#1 lore raw
Quoted 6 lines · --- Sven Bolt

Hello,
I saw the problem already on the list, but ther was no solution to it:
I use an iptables-gateway 1.2.6a on debian with kernel 2.4.18 with just

Quoted 7 lines

echo 1 > /proc/.../ip_forward
and iptables --table at -A POSTROUTING -j MASQUERADE

I can access through this gateway most webpages, but for example
www.ebay.com among several others I can't access. What could the problem be?

Perhaps the kernel is compiled with ECN, and that particular sites firewall is "ECN braindead". Just one of many possibilites.

=====
Kevin C. McConnell --RHCE-- <Red Hat Certified Engineer>

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

#6 lore raw
In reply to Sven Bolt

Can you access this pages from the firewall itself? Is your internet-connection some flavour of DSL? It could be a MTU problem. Especially some Windows Clients tend to have problems with the MTU (Windows ME for instance).

Alex.

Signature · 2 lines
"Mr Data, when I said 'Fire at Will', I didn't mean for you to be so literal."
Instructions for use of this post: Insert tounge in cheek. Read as normal.
author
#2 lore raw
In reply to Kevin McConnell

No ECN is not enabled in the kernel. The sites are accessible from the gateway itself so it's not an MTU issue. What else could it be?

Quoted 29 lines · Kevin McConnell
Quoted 6 lines · --- Sven Bolt

Hello,
I saw the problem already on the list, but ther was no solution to it:
I use an iptables-gateway 1.2.6a on debian with kernel 2.4.18 with just

Quoted 7 lines

echo 1 > /proc/.../ip_forward
and iptables --table at -A POSTROUTING -j MASQUERADE

I can access through this gateway most webpages, but for example
www.ebay.com among several others I can't access. What could the problem be?

Perhaps the kernel is compiled with ECN, and that particular sites firewall is "ECN braindead". Just one of many possibilites.

=====
Kevin C. McConnell --RHCE-- <Red Hat Certified Engineer>

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

Signature · 5 lines
  Sven Bolt
  [email protected]

-- 
http://fastmail.fm - Send your email first class
#3 lore raw
Quoted 10 lines

-----Message d'origine-----
De : [email protected] [mailto:[email protected]] De la part de Sven Bolt Envoyé : samedi 8 février 2003 16:35
À : Kevin McConnell; [email protected]
Objet : Re: Some webpages inaccessible through IPTables

No ECN is not enabled in the kernel. The sites are accessible from the gateway itself so it's not an MTU issue. What else could it be?

You're wrong... THIS is an MTU issue... I bet you're using PPPoE to connect to the internet. This problem should be handled by MTU path discovery, but some stupid network administrators are blocking all ICMP packets, and MTU path discovery uses ICMP to do its job.

Try lowering the MTU of your client hosts to 1492, and you'll be able to browse the sites you cannot access for now.

#4 lore raw

On Sat, 8 Feb 2003 16:58:54 +0100,
"Franck ZOCCOLO" <[email protected]> wrote in message <[email protected]>:

Quoted 8 lines
Quoted 8 lines

-----Message d'origine-----
De : [email protected] [mailto:[email protected]] De la part de Sven Bolt Objet : Re: Some webpages inaccessible through IPTables

No ECN is not enabled in the kernel. The sites are accessible from the gateway itself so it's not an MTU issue. What else could it be?

Quoted 7 lines

You're wrong... THIS is an MTU issue... I bet you're using PPPoE to connect to the internet. This problem should be handled by MTU path discovery, but some stupid network administrators are blocking all ICMP packets, and MTU path discovery uses ICMP to do its job.

Try lowering the MTU of your client hosts to 1492, and you'll be able to browse the sites you cannot access for now.

..if that doesn't work, keep on lowering it.

Signature · 4 lines
..med vennlig hilsen = with Kind Regards from Arnt... ;-)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.
#5 lore raw
In reply to Franck ZOCCOLO
Quoted 11 lines · Franck ZOCCOLO
Quoted 10 lines

-----Message d'origine-----
De : [email protected] [mailto:[email protected]] De la part de Sven Bolt Envoyé : samedi 8 février 2003 16:35
À : Kevin McConnell; [email protected]
Objet : Re: Some webpages inaccessible through IPTables

No ECN is not enabled in the kernel. The sites are accessible from the gateway itself so it's not an MTU issue. What else could it be?

Quoted 7 lines

You're wrong... THIS is an MTU issue... I bet you're using PPPoE to connect to the internet. This problem should be handled by MTU path discovery, but some stupid network administrators are blocking all ICMP packets, and MTU path discovery uses ICMP to do its job.

Try lowering the MTU of your client hosts to 1492, and you'll be able to browse the sites you cannot access for now.

Even better -- use clamp-mss on the forward chain...
like so...
$IPTABLES -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu

This lets you leave the dang clients alone...