#!/bin/bash

cat >> /etc/sysctl.conf << EOF
net.ipv4.tcp_sack=1
net.ipv4.tcp_no_metrics_save = 1
net.ipv4.tcp_slow_start_after_idle = 0
net.ipv4.tcp_rmem = 4096 524288 524288
net.ipv4.tcp_wmem = 4096 262144 524288
EOF

sysctl -p
