HI, I've been reading about different ways to block sites and implementing them. (just one of them worked for me)
I use two sites for the tests:
speedtest.net --> http
facebook.com -->https
Today at morning I had success by using this:
Code: Select all
ip firewall layer7-protocol add name=Speedtest regexp="^.+(speedtest).*\$" comment=TO-BLOCK-SPEEDTEST
ip firewall filter add chain=forward src-address=192.168.88.0/24 layer7-protocol=Speedtest action=drop comment=BLOCK-SPEEDTEST
Internet (ADSL) ---> Modem/Router Linksys X1000 ---> MikroTik RB952Ui-5AC2nd (6.41.x)
And it worked! I couldn't open speedtest nor facebook! (I didn't use TLS- Host)
After that, I changed the config on the routers. The X1000 wasn't as Bridge, so I put it on Bridge mode, put my PPPoE user and pass on the MikroTik and updated RouterOS from 6.41.x to 6.42.3.
Now I can't block even speedtest, and it's HTTP.
I tryed using this ^.+(speedtest).*$ and this ^.+(speedtest.net).*$.
I'm out of ideas.. I'm just starting with MikroTik, so it's probably that there is something that I have to touch to finally activate the blocking. I mean, it was working this morning (and the code was copied from the terminal to WhatsApp Web).
On the terminal, I have to use this "\" here regexp="^.+(speedtest).*\$" for the code to be applied, right? Because I was manually putting ^.+(speedtest).*$ (or.net, ca't remember, but was the one that worked) on the layer7 protocol because it ended up blank.