From: thorko on
Hi guys,
I have a strange behavior on a Centos 5 machine. Whenever I connect
from
the internet to that machine using ssh I get a tcp window size of 1.
But
when I connect from the local network it is fine (it's around 30).
The machine is behind a firewall using NAT to forward any traffic from
www
to the same network card on which the local network resides.
Any kernel parameter is the default which comes with Centos 5.

net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 65536 16777216
net.ipv4.tcp_mem = 786432 1048576 1572864
net.core.rmem_default = 110592
net.core.wmem_default = 110592
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.ipv4.tcp_sack = 1
net.ipv4.tcp_window_scaling = 1

Do you have any clue why this happens?
Thanks for your attention.
Ciao
Thorsten