307 Security Mode
By default, the challenge is no
, if you want to turn on 307 Security Mode
please edit the website.conf
file as follows:
Enable Security Mode:
1. Edit website.conf
:
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://204.79.197.2:80 no 307 no no
In that configuration:
Website
is: your-domain.com
https://0.0.0.0:443
is: Protocol & IP:PORT
, that vDDoS needs to listen to serve for your-domain.com
domain.
https://20.79.197.2:443
is: Protocol & IP:PORT
of the original web server of your-domain.com
, which you want vDDoS to know and transfer traffic to that server (it’s called a Backend Server)
Cache
is: no
Security
is: 307
SSL KEYs
is: no & no
2. Restart vDDoS (After each configuration change):
[root@vDDoS ~]# vddos restart (Defensive Estimating ~ 273 RealReq/s) 0.0.0.0:80 vDDos service Restart success!
Check Security Mode:
[root@vDDoS ~]# curl http://your-domain.com <html> <head><title>307 Temporary Redirect</title></head> <body bgcolor="white"> <center><h1>307 Temporary Redirect</h1></center> <hr><center>nginx</center> </body> </html>
[root@vDDoS ~]# curl -L http://your-domain.com vDDoS Security: Please Upgrade Your Browser And Try Again!
[root@vDDoS ~]# curl -I http://your-domain.com HTTP/1.1 307 Temporary Redirect Server: nginx-V-ddos Date: Thu, 01 Jun 2017 06:21:45 GMT Content-Type: text/html Content-Length: 180 Connection: keep-alive Keep-Alive: timeout=15 Set-Cookie: vDDoS=fa3b3a420a7a2d6605f95b654ec4058a; path=/ Location: http://your-domain.com/?d=1
NOTE: 307 Security Mode is the fastest but easily bypass.