The situation:
I have a LAN:
[Workstation] ---- [gateway] ----- [router] -> Internet-uplink
All three are FreeBSD 12.2, and seem to work well: all upload and download works to the expected bandwidth of the uplink.
Then I have another machine in the cloud. Also FreeBSD 12.2. And when I try to download from that machine onto [Workstation], ssh/scp runs with 8 to 17 kByte /sec.
When I try to download onto [gateway] or [router], it runs with some 60 to 100 kByte /sec.
Then, when I switch OFF the firewall on the cloud machine (
But, if I reboot the cloud machine into their rescue image (some FreeBSD 11.2), then the downloads run with the full available speed, as one would normally expect.
So it cannot be a hardware problem, neither a network issue. It must be something in the configuration of the FreeBSD 12.2. (Somehow it appears like those TCP window sizing matters - but I thought that is all autotuning nowadays and no longer an issue under normal circumstances - or at least not to such extreme effects.)
I have a LAN:
[Workstation] ---- [gateway] ----- [router] -> Internet-uplink
All three are FreeBSD 12.2, and seem to work well: all upload and download works to the expected bandwidth of the uplink.
Then I have another machine in the cloud. Also FreeBSD 12.2. And when I try to download from that machine onto [Workstation], ssh/scp runs with 8 to 17 kByte /sec.
When I try to download onto [gateway] or [router], it runs with some 60 to 100 kByte /sec.
Then, when I switch OFF the firewall on the cloud machine (
ipfw add 1 allow all from any to any
), the speed rises from 8 kByte to some 350 kByte / sec. (which is still not full bandwidth).But, if I reboot the cloud machine into their rescue image (some FreeBSD 11.2), then the downloads run with the full available speed, as one would normally expect.
So it cannot be a hardware problem, neither a network issue. It must be something in the configuration of the FreeBSD 12.2. (Somehow it appears like those TCP window sizing matters - but I thought that is all autotuning nowadays and no longer an issue under normal circumstances - or at least not to such extreme effects.)