Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - duy13

Pages: [1]

This is awesome

SSL / Re: how to install third Party ssl
« on: May 14, 2020, 06:07:37 PM »

The same problem, it can be solved by admin but how can customers add their certificates from 3rd parties themselves in CWP cPanel?

Any suggestions?

SSL / Why CWP don't have "Custom SSL functionality" for customers
« on: May 12, 2020, 09:44:35 AM »
For example they buy their own ssl or certificate and they can add it to their domain themselves
Currently they can only use AutoSSL or need admin to add their custom certificate

And please design a place for them to generate CSR and Private KEY (Self-signed Certificate).

Thanks you very much!

How to / [ANTIDDOS] for CWP Panel with vDDoS Proxy Protection
« on: June 16, 2018, 04:34:36 PM »
ANTIDDOS CWP Panel (Update 2018 - How to full install)

STEP 1: Install CWP Panel
Code: [Select]
cd /usr/local/src
sh cwp-el7-latest

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 Filter & Mitigate DOS, DDOS, SYN Floods, or HTTP Floods attack to protect your website.

Code: [Select]
curl -L -o
chmod 700

STEP 3: Change Apache Default Port

By default, CWP uses Apache alone and runs on port 80, 443. We can use the function: Setup default Web Servers at Apache Settings >> Select WebServer

Change it into: Apache & Varnish Cache & Nginx Reverse Proxy or Apache & Nginx Reverse Proxy, So Apache will be listened to at another port is 8181 and 8443; to facilitate our proxying.

Click Save and Re-check Apache port:

Code: [Select]
[root@vDDoS-CWP Panel ~]# netstat -lntup|grep httpd; netstat -lntup|grep nginx; netstat -lntup|grep varnishd
tcp6       0      0 :::8181         :::*                    LISTEN      1304/httpd
tcp6       0      0 :::8443         :::*                    LISTEN      1304/httpd
tcp        0      0*               LISTEN      5481/nginx: master
tcp        0      0*               LISTEN      5481/nginx: master
tcp        0      0*               LISTEN      1418/varnishd
tcp        0      0*               LISTEN      1418/varnishd
tcp6       0      0 :::82           :::*                    LISTEN      1418/varnishd

It can be seen that Nginx listened at 80 and 443, then it proxyed to port 82 of Varnish cache server then Varnish continued forwarding traffic to Apache at port 8181.
So you can stop Nginx and replacing it with vDDoS, Reverse Proxy for vDDoS to any port of Apache or Varnish (With Varnish you will be cached and reach faster speeds)

Code: [Select]
service nginx stop
chkconfig nginx off

STEP 4: Config vDDoS Proxy Protection

The following example assumes the IP address of the server you are

Code: [Select]
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/ /vddos/ssl/

Configuration like the above you will use directly from vDDoS reverse proxy to Apache port, If you want to use port of Varnish cache server then you can configure as follows:

Code: [Select]
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/ /vddos/ssl/

Restart vDDoS service after you have configured:
Code: [Select]
/usr/bin/vddos restart
Auto-start vDDoS services on boot:
Code: [Select]
/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.

Code: [Select]
nano /vddos/auto-add/setting.conf

Default Setting for vddos-add command:

SSL Auto
Cache no
Security no

Crontab CWP Panel:
Code: [Select]
echo '*/25 * * * * root /usr/bin/vddos-autoadd panel cwp apache' >> /etc/crontab

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

Code: [Select]
echo '*/6 * * * * 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

Try ab tool:
Code: [Select]
ab -n100000 -c500 # High load

CentOS-WebPanel Bugs / Re: Website Down
« on: December 24, 2017, 04:11:09 PM »
Some days my website often decreased so can not be accessed. all run normally again after I reboot the server. And after a few hours later this happens again. I do not know why, anyone can help?

You may have been attacked by ddos. Please check the connection number to your server:
Code: [Select]
netstat -an |grep ":80" |awk '{print $5}' | sed s/::ffff://g | cut -d: -f1 |sort |uniq -c |sort -n | tail -1000 | grep -v ""

PM My skype voduy13 for support

Re-Build Apache config, kill apache, start nginx, start apache

Installation / Re: 安装cwp,packages下载非常缓慢1-5kb/s
« on: July 09, 2017, 02:51:35 PM »
You can try install CWP over sock proxy or something like that

I can install the vDDoS Proxy Protection after installing the CWP?
Problems will not be?
I did not quite understand how vDDoS works with nginx?
Should vDDoS listen on port 80? If so, how will the data be transferred from the vDDoS to the nginx configured on the non 80 port?
Is it possible to remove the vDDoS , if so, how?
Thank you!

1. vDDoS should be installed before installing other things (CWP, cPanel, VestaCP, LAMP, LEMP...)
(PS: But I try to install vDDoS after CWP is still successful-CentOS 7)

2. Nginx or Apache... running & listen on other-port /Example: 8080, 8443... Vddos listens at 80 and 443

3. Remove vDDoS:

Code: [Select]
vddos stop
rm -rf /usr/bin/vddos
rm -rf /vddos
rm -rf /usr/lib64/vddos/modules
rm -rf /var/log/vddos
rm -rf /var/cache/vddos

in https and centos 7 you must update nginx to 1.3 , becouse in nginx what to isntall not work openssl
Thanks for your report!

vDDoS 1.12.0 or 1.13.0 still working perfectly HTTP/2 with Openssl 1.0.2k openssl-1.0.2l will be update soon

How to install with already installed cwp7 with apache and Nginx Reverse Proxy?


You can change default port of nginx or stop & remove nginx (using only Apache+vDDoS)

Or install vDDoS in other-server

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

vDDoS Layer4 Mapping is a addon support for vDDoS Proxy Protection - Monitor processor logs and block it in Layer 3-4. This tool is product for those people ask me to add "BLOCK & CAPTCHA" on Layer 3-4 (Support Iptables CSF & CloudFlare API) for vDDoS Proxy Protection.

1. Install vDDoS Proxy Protection + CWP

Please visit Part 1:

2. Install vDDoS Layer4 Mapping

Code: [Select]
curl -L -o /usr/bin/vddos-layer4
chmod 700 /usr/bin/vddos-layer4

Use vDDoS-Layer4-Mapping:

Code: [Select]
(Choose options 5)

Code: [Select]
   Welcome to vDDoS, a HTTP(S) DDoS Protection Reverse Proxy. Thank you for using!

        Please choose vDDoS Layer 4 Running Mode:

         CloudFlare Mode:
          1. Enable Captcha-All-Country Mode (Recommend This Mode For Large DDoS Attacks)
          2. Enable Monitor-vDDoS-logs-and-Captcha Mode
          3. Enable Monitor-vDDoS-logs-and-Block Mode
          4. Remove all rules exist on CloudFlare Firewall

         CSF Mode:
          5. Enable Monitor-vDDoS-logs-and-Block Mode
          6. Remove all rules exist on CSF

         End & Exit:
          7. End All Process (Kill all Process Mode Running)
          8. Exit

Enter Your Answer [1, 2, 3... or 8]:

DOS Flood Attack - Before using vDDoS Protection:

DOS Flood Attack - After using vDDoS Protection:

View More Config:

[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.

System Requirement:
CentOS Server 5/6/7 x86_64 (
CloudLinux Server 5/6/7 x86_64 (

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 -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
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      *                   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 no     5s             no          no
default no     5s             no          no

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

vDDoS Restart:

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

4. Example Test website:

Security DDOS mode: 5s checking

Security DDOS mode: reCaptcha checking

View More Config:

Part 2:

Pages: [1]