Skip to contentSkip to conversation

Weird behavior for -j MASQUERADE, please help ! :)

DISCUSSION Hervé Eychenne 1 participant 1 message May 25, 2002 2 messages not in the archive

lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive
Quoted 3 lines · Valentin LAB

Well, I've found the solution. It's in the forgotten PPPoe manual in kernel mode of 2.4.x (i've found it in google's cache, it had disappeared from the referenced link.)

Fortunately, it is documented in the (recent) iptables manpage...

Quoted 6 lines

It links to this page : http://www.hgfelger.de/mss/mss.html , which is quite interesting to read when you have an ADSL Modem and you have problems as those mentionned above with kernel-mode PPPoe driver.

It tells to add only one line to the firewall script :

Quoted 8 lines

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

if this isn't magic, i'm a toaster :))
This work really fine for me now.

Could somebody comment this line for my education ? (or give a quick link to explain, or give the state-of-the-art on the TCPMSS target)

Isn't the manpage explication sufficient?

RV

Signature · 4 lines
 _
(°=  Hervé Eychenne
//)
v_/_ WallFire project:  http://www.wallfire.org/