Git Product home page Git Product logo

vddos-protection's Introduction

vDDoS Proxy Protection

Welcome to vDDoS, a HTTP(S) DDoS Protection Reverse Proxy. Thank you for using!

Homepage: http://vddos.voduy.com


System Requirement

Warning: Since version 1.13.10, vDDoS only supports CentOS Server 7
yum -y install epel-release 
yum -y install curl wget gc gcc gcc-c++ pcre-devel zlib-devel make wget openssl-devel libxml2-devel libxslt-devel gd-devel perl-ExtUtils-Embed GeoIP-devel gperftools gperftools-devel libatomic_ops-devel perl-ExtUtils-Embed gcc automake autoconf apr-util-devel gc gcc gcc-c++ pcre-devel zlib-devel make wget openssl openssl-devel libxml2-devel libxslt-devel gd-devel perl-ExtUtils-Embed GeoIP-devel gperftools gperftools-devel libatomic_ops-devel perl-ExtUtils-Embed 
yum -y update
reboot

Install

Install Latest Version: (System CentOS 7 x86_64 & vDDoS Latest Version)

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

Or, Choose a Old Version:

vddosversion="1.13.10"
curl -L https://github.com/duy13/vDDoS-Protection/raw/master/vddos-$vddosversion-centos7 -o /usr/bin/vddos
chmod 700 /usr/bin/vddos
/usr/bin/vddos help

/usr/bin/vddos setup


Using

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

Explain Config:

nano /vddos/conf.d/website.conf

Website:

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

Listen:

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.

Backend:

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.

Cache:

variable: no, yes

Sets proxy cache website on vDDoS.

Security:

variable: no, 307, 200, click, 5s, high, captcha

Sets a valid for Security Level Protection. Note: no < 307 < 200 < click < 5s < high < captcha

SSL-Prikey:

variable: /location/ssl/key/of/your/private/key/privkey.pem

Sets SSL Private key website for vDDoS. Note: Option need for HTTPS Listen.

SSL-CRTkey:

variable: /location/ssl/key/of/your/public/key/cert.pem

Sets SSL Public key website for vDDoS. Note: Option need for HTTPS Listen.

3rd Plugin:

vddos-sensor-plugin: https://github.com/ertugrulturan/vddos-sensor-plugin

More Config:

Document: http://vddos.voduy.com

Still in beta, use at your own risk! It is provided without any warranty!

vddos-protection's People

Contributors

duy13 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.