In this article, we will learn how to protect Plesk Linux server against SYN flood attacks.
If you want to protect your Plesk Obsidian Linux server, this tutorial will guide you.
1. Access your Plesk Linux server using SSH root user.
2. To optimize Linux kernel for DDoS protection, add following parameters to /etc/sysctl.conf
# Enable TCP SYN cookie protection
net.ipv4.tcp_syncookies = 1
# Decrease the time default value for tcp_fin_timeout connection
net.ipv4.tcp_fin_timeout = 3
# Turn off the tcp_window_scaling
net.ipv4.tcp_window_scaling = 0
# Turn off the tcp_sack
net.ipv4.tcp_sack = 0
3. To apply the changes, use following command:
# sysctl -p
[Need assistance to fix this error or install tools? We’ll help you.]