TCP MSS in PPPoE


#1

Hi all!
I put a policy to define MTU in my pppoe interface, but i still can’t browse a lot of sites on the Internet.
Please, tell me, what i need to do to get access to them.

My policy rule

route mss {
     rule 5 {
         protocol tcp
         set {
             tcp-mss 1452
         }
         tcp {
             flags SYN
         }
     }
 }

My ethernet interface configuration:

interfaces ethernet eth1 
 description WAN
 duplex auto
 hw-id [HW ID]
 mac [MY MAC ADDRESS]
 pppoe 0 {
     default-route auto
     mtu 1492
     name-server auto
     password [PASSWORD]
     policy {
        route mss
    }
     user-id [USERNAME]
 }
 smp_affinity auto
 speed auto

Best regards, Nufay.


#2

Placing policy on WAN port only correctly clamps MSS for incoming connections (portmaps)
Apply identical policy to your LAN port for outgoing connections


#3

Thanks for reply, i’ll try it out in evening/


#4

Thank you, 16again, it’s working now!


#5

OK
But I’m still looking for a better way to apply tcp-mss on an interface in both directions.