[Voyage-linux] not all html pages are routed

Hofer, Hermann (spam-protected)
Sat Oct 10 22:35:08 HKT 2009


Hi Torsten,

you can also set this in mangle table:

   # CLAMP to PMTU
   iptables -t mangle -A POSTROUTING -o $EXTERNAL_INTERFACE  -p TCP \
     --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu

In this case the rule is more separated from the other, I find this 'easier' to look at and also more fault tolerant in case of future changes.


regards,
 Hermann

-----Original Message-----
From: voyage-linux-bounces+h.hofer=ahsnet.de at list.voyage.hk [mailto:voyage-linux-bounces+h.hofer=ahsnet.de at list.voyage.hk] On Behalf Of Torsten Senf
Sent: Saturday, October 10, 2009 2:31 PM
To: voyage-linux at voyage.hk
Subject: Re: [Voyage-linux] not all html pages are routed


Darsha your hint was excellent. I searched for TCPMSS and find that 
target. With the following rule on the router all pages are routed now:

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

Note the rule has to be the first forward rule!

Thank you very much Darsha

Greetings 

-- 
Torsten Senf
http://sentor.de

_______________________________________________
Voyage-linux mailing list
Voyage-linux at list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux




More information about the Voyage-linux mailing list