Author Topic: [AntiDDOS] Install vDDoS on CWP to AntiDDOS, DOS, SYN Flood, HTTP Floods attack  (Read 1037 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
[AntiDDOS] How to Install vDDoS on CWP to AntiDDOS, DOS, SYN Flood, HTTP Floods attack

What is vDDoS?

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.
Homepage: http://vddos.voduy.com

System Requirement:
CentOS Server 5/6/7 x86_64 (http://centos.org)
CloudLinux Server 5/6/7 x86_64 (http://cloudlinux.com)




Install vDDoS Proxy Protection on Centos Web Panel

1. Install vDDoS Proxy Protection: (Please goto vDDoS Homepage and get new version)

Code: [Select]
curl -L https://github.com/duy13/vDDoS-Protection/raw/master/vddos-1.12.0-centos7 -o /usr/bin/vddos
chmod 700 /usr/bin/vddos
/usr/bin/vddos help

/usr/bin/vddos setup

2. Install Centos Web Panel: (Please goto CWP Homepage and get new version)

Code: [Select]
cd /usr/local/src
wget http://centos-webpanel.com/cwp-latest
sh cwp-latest

3. Change Default Port Apache Listen of Centos Web Panel:

CWP Setting > Edit Setting > Apache Port > 8080 (or something like that)



Code: [Select]
[root@vddos ~]# netstat -lntup|grep httpd
tcp        0      0 0.0.0.0:8080                0.0.0.0:*                   LISTEN      7466/httpd

4. Config vDDoS Proxy Protection:

Code: [Select]
nano /vddos/conf.d/website.conf

# Website           Listen            Backend               Cache  Security  SSL-Prikey  SSL-CRTkey
your-domain.com http://0.0.0.0:80 http://167.114.161.2:8080 no     5s             no          no
default         http://0.0.0.0:80 http://167.114.161.2:8080 no     5s             no          no

Security mode: no < 307 < 200 < click < 5s < high < captcha

vDDoS Restart:

Code: [Select]
[root@vddos ~]# vddos restart
0.0.0.0:80
vDDos service Restart success!


4. Example Test website:

Security DDOS mode: 5s checking



Security DDOS mode: reCaptcha checking




View More Config: http://vddos.voduy.com

Part 2: http://forum.centos-webpanel.com/csf-firewall/(antiddos)-vddos-csf-on-cwp-to-antiddos-dos-syn-flood-http-floods-attack/
« Last Edit: April 24, 2017, 06:53:26 AM by duy13 »
Free Support - Problems with Domain, Hosting, VPS, Server... Skype: voduy13