This is my configuration on RouterOS:
/ip firewall layer7-protocol
add name=Yahoo regexp="^.*(yahoo).*\$"
/ip firewall filter
add action=drop chain=forward layer7-protocol=Yahoo src-mac-address=\
F0:E7:7E:54:57:2E
This will block the yahoo url properly, but when i’m using “not” (“!”) to block anything except yahoo:
/ip firewall filter
add action=drop chain=forward layer7-protocol=!Yahoo src-mac-address=\
F0:E7:7E:54:57:2E
It won’t work! it will block all urls and yahoo! why? ![]()