I am new to Mikrotik and an amateur at networking - I’ll keep my day job as I would starve if I had to make a living at networking!
I have used the collective wisdom located in the wiki and forum to create address blacklists from various websites with corresponding “drop” commands in my firewall. My questions is this: how do I notify an end user when their IP address request is dropped due to a blacklist hit please? I want to send a direct and immediate message to the end user. I’d prefer not to use email, sms and other such workarounds. I have no idea how to implement this. Any help would be greatly appreciated.
Thanks for the reply. An elegant solution, but it seems like quite a hassle to setup the delivery of a simple error message for a small network. Regardless, I appreciate your advice and will consider its implementation.
Now The default error message will appear - which you can easily adjust to your needs. - It’s located in files/webproxy/error.html
In case you don’t see this file, go to IP → Web Proxy → Reset html.
Off you go.
-Chris
Edit: Just in case other protocols or ports are used, drop all non-http traffic:
Thanks for the code; it is not as complex as i had thought. Just so I get this correct, may i store the message (error.html) directly on the router or will i still need a separate local web server ?