Hello,
i want to block some webseites like facebook, youtube and such. To archive this, i redirect all dns request containing a keyword in the content to the mikrotik router. A scheduled script looks for keywords in the DNS cache and adds A record IP’s to an address list. This address list is used to block restricted sites for speciffic networks / users.
This works fine and can also block https connections sinze DNS requests are not encrypted (as far as i know
)
But instad of just dropping the packets (and just let the browser to time out) it would be nice to also redirect the user to an error page. Maybe on the router itself, sinze hotspot is active.
Unfortunately i don’t realy get the proxy to to what i want ![]()
So, anybody can help me setting this up? It should redirect only prohibited (http and https) connections to an URL.