# TCP window scaling and broken routers
net.ipv4.tcp_moderate_rcvbuf=0
net.ipv4.tcp_default_win_scale=0
-net.ipv4.tcp_window_scaling=0
+net.ipv4.tcp_window_scaling=1
# Mark only out of window RST segments as INVALID. This setting, among
# other things, allows data to be sent with SYN packets.
# Fixes dst cache overflow bug
net.ipv4.route.max_size=262144
+
+
+net.ipv4.tcp_congestion_control = cubic
+net.ipv4.tcp_moderate_rcvbuf = 0
+net.core.rmem_max = 131071
+net.core.wmem_max = 131071
+net.ipv4.tcp_rmem = 4096 87380 4194304
+net.ipv4.tcp_wmem = 4096 16384 4194304
+net.netfilter.nf_conntrack_icmp_timeout = 60
+