Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Apr 2021 17:23:39 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Rozhuk Ivan <rozhuk.im@gmail.com>, freebsd-current@freebsd.org, freebsd-net <freebsd-net@freebsd.org>
Subject:   Re: TCP Connection hang - MSS again
Message-ID:  <ff013eb9-044a-f292-6edb-c298d7356061@grosbein.net>
In-Reply-To: <20210405124450.7505b43c@rimwks.local>
References:  <20210405124450.7505b43c@rimwks.local>

next in thread | previous in thread | raw e-mail | index | archive | help
05.04.2021 16:44, Rozhuk Ivan wrote:

> Is any other other options to work around this?

Yes. Each entry in the routing table has "mtu" attribute limiting TCP MSS, too.
You should use default route with -mtu 1500 attribute. For example, in /etc/rc.conf:

defaultroute="X.X.X.X -mtu 1500"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ff013eb9-044a-f292-6edb-c298d7356061>