[ANTIDDOS] for Plesk Onyx with vDDoS Proxy Protection

STEP 1: Install Plesk

wget https://autoinstall.plesk.com/plesk-installer
chmod +x ./plesk-installer
./plesk-installer --web-interface

More documentation:

STEP 2: Install vDDoS Proxy Protection

vDDoS Proxy Protection is free software to provide a Reverse Proxy Server HTTP(S) protocols. It act as a Layer 7 Firewall Filter & Mitigate DOS, DDOS, SYN Floods, or HTTP Floods attack to protect your website.

curl -L https://github.com/duy13/vDDoS-Protection/raw/master/latest.sh -o latest.sh
chmod 700 latest.sh
bash latest.sh

STEP 3: Stop Nginx Proxy Server

service nginx stop
chkconfig nginx off

Re-Check Apache port:

[root@vDDoS-Plesk ~]# netstat -lntup|grep httpd
tcp6 0 0 :::7080 :::* LISTEN 7261/httpd
tcp6 0 0 :::7081 :::* LISTEN 7261/httpd

STEP 4: Config vDDoS Proxy Protection

For example, the IP Addr of your server is

nano /vddos/conf.d/website.conf

# Website Listen Backend Cache Security SSL-Prikey SSL-CRTkey
default no no no no
default no no /vddos/ssl/your-domain.com.pri /vddos/ssl/your-domain.com.crt

Restart vDDoS service after you have configured:

/usr/bin/vddos restart

Auto-start vDDoS services on boot:

/usr/bin/vddos autostart

STEP 5: Config vDDoS Auto Add

vDDoS Auto Add is a addon support for vDDoS Proxy Protection - Monitor Domains/Aliasdomains/Subdomains in Panel Hosting, Web Server, List Domain, Virtual Host... and automatically add them into the website.conf file.

nano /vddos/auto-add/setting.conf

Default Setting for vddos-add command:

SSL Auto
Cache no
Security no

Set Crontab:

echo '*/15 * * * * root /usr/bin/vddos-autoadd panel plesk apache' >> /etc/crontab

STEP 5: Config vDDoS Auto Switch

vDDoS Auto Switch is a addon support for vDDoS Proxy Protection - Automatically identifies overloaded websites and changes their Security Mode.

echo '*/5 * * * * root /usr/bin/vddos-autoswitch checkalldomain high' >> /etc/crontab
echo '0 */3 * * * root /usr/bin/vddos-autoswitch flushalldomain /vddos/conf.d/website.conf no' >> /etc/crontab

More documentation:




Top News