Right now when Fail2Ban ban the website owner IP, the user does not know what is happening. He thinks that his website is down.
I would like to let the user know that his IP has been banned and provide contact information.
I am thinking of redirecting traffic to a static page with this information.
But how to make it? How redirect banned traffic to a static page?
Or maybe there is a better solution to this problem?
I would like to let the user know that his IP has been banned and provide contact information.
I am thinking of redirecting traffic to a static page with this information.
But how to make it? How redirect banned traffic to a static page?
Or maybe there is a better solution to this problem?
Last edited: