To enable RFC 1323 Window Scaling and increase the TCP window size to 1 MB on
FreeBSD, add the following lines to /etc/sysctl.conf
and reboot.
net.inet.tcp.rfc1323=1
kern.ipc.maxsockbuf=16777216
net.inet.tcp.sendspace=1048576
net.inet.tcp.recvspace=1048576
You can make these …