I want to add some ip adresses to a blacklist, and i want to show these ip addresses in blacklist a custom web page that includes a "you are in blacklist" message on body.
How can i do this?
I have ubuntu server and apache. I tried to add rule to ip tables but it only drops connection. I do not want to drop connection i want to route it to a custom .html . Thanks.