Hello
There are some ways for blocking a web page but i want to know which one is the best and most reliable?
For example l7 protocol is resource intrsive and it is not suggested in wiki mikrotik
Web proxy is another way but disabling web proxy is needed for router security as it is in wiki mikrotik( securing router)
Tls host is only for https and i dont know if it can be used for blocking http web pages.
I have a Huawei B715 LTE modem which has web filtering included, if I enable it for a specific website by simply entering domainame.com, that site will be blocked in seconds, why does it have to be so complicated with Mikrotik?
mikrotiks first of all are routers. All other functionalities are addons, usually good enough for average requirements.
However, for (ad-)blocking I use an openwrt-device. Which has many more possibilities.
Because you have not envisioned all the possible ways to circumvent that block, both intentional and unintentional. It is easy to “offer a block function”, it is much more difficult (more like: impossible) to make one that works all the time.
True, but moot point based on system/desktop security… If domain environment, can disable users from changing TCP/IP settings and installing 3rd party software.
Otherwise, to OP - Suggest using 3rd party solution or hardware, such as HTTP proxy inline on your network.
Won’t help when users use DoH or DoT. You can block DoT but it will become impractical to block DoH.
(just like it is impractical to block all VPN options)
And then we are not even talking about the implications of blocking a website.
E.g.: You may want to block Facebook (e.g. to reduce the amount of time wasted inside a company keeping track of Facebook friends), but then you also block all “login using your facebook account” sites!
You may face similar issues when trying to block other sites that are part of a big conglomerate, e.g. Youtube blocking may affect functionality of unrelated other Google services.
May advise remains: The best way is not to do it!
Find other ways of making the users not access the webpage you don’t want them to access.