Hi,
I have created a new jail + filter in plesk fail2ban exention
JAIL:
FILTER:
But i have make on test trought a webproxy the IP was blocked and showed in iptables -L but still can reload the website.
Something wrong here:
I want that this userclient get totally dropped and can't reload any website hosted on the server.
But can still reload the website? @UFHH01
I have created a new jail + filter in plesk fail2ban exention
JAIL:
Code:
[http-ddos-custom]
enabled = true
filter = http-ddos-custom
action = iptables-multiport[chain="INPUT", name="http-ddos-custom", port="http,https,7080,7081", protocol="tcp", blocktype="REJECT --reject-with icmp-port-unreachable"]
logpath = /var/www/vhosts/*/logs/access_ssl_log
/var/www/vhosts/*/logs/access_log
maxretry = 300
FILTER:
Code:
[Definition]
failregex = ^<HOST> -.*"(GET|POST).*
ignoreregex =
But i have make on test trought a webproxy the IP was blocked and showed in iptables -L but still can reload the website.
Something wrong here:
Code:
action = iptables-multiport[chain="INPUT", name="http-ddos-custom", port="http,https,7080,7081", protocol="tcp", blocktype="REJECT --reject-with icmp-port-unreachable"]
I want that this userclient get totally dropped and can't reload any website hosted on the server.
Code:
target prot opt source destination
REJECT all -- 37.58.58.206 anywhere reject-with icmp-port-unreachable
RETURN all -- anywhere anywhere
But can still reload the website? @UFHH01
Last edited: