### CentOS TIME_WAIT too
# Check Connections the netstat -n | awk ' / ^ TCP / ++ {S [$ of NF]} for the END {(S in A) Print A, S [A]} ' ## Solution CAT >> / etc / << the sysctl.conf the EOF net.ipv4.tcp_syncookies = . 1 net.ipv4.tcp_tw_reuse = . 1 net.ipv4.tcp_tw_recycle = . 1 net.ipv4.tcp_fin_timeout = 10 the EOF sysctl -p