Hi i want to show the user an error message with html. When they enter a website that been block by the admin. For example facebook; if the user try to visit facebook it will direct them to a html page that say content has been block, please contact your administrator
The reason i m using firewall filter to block the certain website and instead of using web proxy to block is because i wanted the block to be individual.
So my question is. How to redirect the user after you block the site with Mikrotik Firewall filter. Can it be done ?
hey .
u don’t need to use firewall !
you want to block facebook.com . use dst nat and redirect the ip address of website to your HTML page IP .
put a dst nat rule in your nat table . use your subnet target as src add and facebook ip as des add . then go to the action tab and choose dst nat . put your warning page’s IP in " to addresses " .
this is working on paper ! try it out and give me your result …