Welcome to vDDoS, a HTTP(S) DDoS Protection Reverse Proxy. Thank you for using!
dnf config-manager --setopt=fastestmirror=true --save && dnf clean all && dnf makecache
dnf -y update;
dnf -y install epel-release && \
dnf -y install wget zip unzip tar curl screen jq nano net-tools htop iotop iptraf gcc gcc-c++ make automake autoconf && \
dnf -y install pcre-devel zlib zlib-devel openssl openssl-devel libxml2 libxml2-devel libxslt libxslt-devel gd gd-devel && \
dnf -y install perl perl-devel perl-ExtUtils-Embed gperftools gperftools-devel libffi-devel apr-util-devel && \
dnf -y install bind-utils sysstat bc sshpass rsync gnutls-utils bzip2-devel
apt-get install netselect-apt -y && netselect-apt
apt -y update;
apt -y install wget zip unzip tar curl ca-certificates perl libperl-dev libgd3 libgd-dev libgeoip1 libgeoip-dev && \
apt -y install geoip-bin libxml2 libxml2-dev libxslt1.1 libxslt1-dev build-essential libpcre3 libpcre3-dev zlib1g zlib1g-dev libssl-dev && \
apt -y install uuid-dev checkinstall net-tools sshpass rsync sysstat bc dnsutils libncursesw5-dev libsqlite3-dev tk-dev && \
apt -y install libgdbm-dev libc6-dev libbz2-dev libffi-dev jq
Install vDDoS Proxy Protection Latest Version:
wget https://files.voduy.com/vDDoS-Proxy-Protection/latest.sh ; chmod 700 latest.sh ; bash latest.sh
OR:
old_version=2.3.3
wget https://files.voduy.com/vDDoS-Proxy-Protection/vddos-$old_version.tar.gz
tar xvf vddos-$old_version.tar.gz
cd vddos-$old_version
chmod 700 *.sh
./install.sh
1. MASTER
2. SLAVE
3. REMOVE ALL
0. Exit
________________________________________________________
Enter your choice [1, 2, 3 or 0]:
OR:
./install.sh master #(master/slave)
Example Edit website.conf:
# nano /vddos/conf.d/website.conf
# Website Listen Backend Cache Security SSL-Prikey SSL-CRTkey
default http://0.0.0.0:80 http://127.0.0.1:8080 no 200 no no
your-domain.com http://0.0.0.0:80 http://127.0.0.1:8080 no 200 no no
default https://0.0.0.0:443 https://127.0.0.1:8443 no 307 /vddos/ssl/your-domain.com.pri /vddos/ssl/your-domain.com.crt
your-domain.com https://0.0.0.0:443 https://127.0.0.1:8443 no 307 /vddos/ssl/your-domain.com.pri /vddos/ssl/your-domain.com.crt
your-domain.com https://0.0.0.0:4343 https://103.28.249.200:443 yes click /vddos/ssl/your-domain.com.pri /vddos/ssl/your-domain.com.crt
Save config website.conf
Restart vDDoS:
vddos restart
nano /vddos/conf.d/website.conf
variable: default, your-domain.com, www.your-domain.com
Sets domain name listen. Note: only one default on one port listen Example:
# Website Listen Backend Cache Security SSL-Prikey SSL-CRTkey
default http://0.0.0.0:80 http://127.0.0.1:8080 no 200 no no
default https://0.0.0.0:443 https://127.0.0.1:8443 no 200 /vddos/ssl/your-domain.com.pri /vddos/ssl/your-domain.com.crt
variable: http://0.0.0.0:80, https://0.0.0.0:443, http://123.234.012.321:80, https://[::]:443
Sets IP & Port listen.
variable: http://123.234.012.321:80, https://123.234.012.321:443, http://127.0.0.1:8080, https://[::1]:8443
Sets Real IP & Port Backend Service.
variable: no, yes
Sets proxy cache website on vDDoS.
variable: no, 307, 200, click, 5s, high, captcha, hcaptcha
Sets a valid for Security Level Protection. Note: no < 307 < 200 < click < 5s < high < captcha < hcaptcha
variable: /location/ssl/key/of/your/private/key/privkey.pem
Sets SSL Private key website for vDDoS. Note: Option need for HTTPS Listen.
variable: /location/ssl/key/of/your/public/key/cert.pem
Sets SSL Public key website for vDDoS. Note: Option need for HTTPS Listen.
vddos-sensor-plugin: https://github.com/ertugrulturan/vddos-sensor-plugin