• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Issue Fire2ban not working with banned IP

Angelo

New Pleskian
Server operating system version
CentOS7
Plesk version and microupdate number
18.0.48
Hi,

I have set up the file2ban rule with jail and filter.

and when I test to run the command:
fail2ban-client set recidive banip [my ip]
and it works, I've checked the iptables -L -n -v
it shows:
Chain f2b-recidive (1 references)
pkts bytes target prot opt in out source destination
0 0 REJECT all -- * * [my ip] 0.0.0.0/0 reject-with icmp-port-unreachable
169K 1809M RETURN all -- * * 0.0.0.0/0 0.0.0.0/0
It seems like working now, but when I try to connect to the server website (port 443)

I am still connected. why?
I don't understand the reason.
 
Thanks for your reply,
I've tried to use this command, and here is the test.
1672711271202.png
It seems like works, but I still can access the server via port 443
 
Back
Top