Mě funguje toto:
/ip firewall layer7-protocol
add comment="== torrent stranky ==" name=torrentsites regexp="^.*(get|GET).+torrent|thepiratebay|isohunt|cztorrent|tatracker|entertane|demonoid|btjunkie|mininova|flixflux|torrentz|vertor|h33t|btscene|bitunity|thunderbytes|entertane|zoozle|vcdq|bitnova|bitsoup|meganova|fulldls|btbot|flixflux|seedpeer|fenopy|gpirate|commonbits).*\$"
add comment="== stranky ==" name=blocksites regexp="^.*(get|GET).+(seznam|idnes).*\$"
add comment="== socialni site ==" name=block-socials regexp="^.+(facebook|twitter|youtube).*\\\$"
a zde pravidla pro firewall
/ip firewall filter
add action=reject chain=forward comment="==BLOCK L7 WEBSITES==" disabled=yes layer7-protocol=block-socials
add action=drop chain=forward comment="== BLOCK L7 TORR KEY ==" content=torrent disabled=yes src-address=192.168.1.0/24
add action=drop chain=forward comment="== BLOCK L7 TORR PEERS ==" content=getpeers disabled=yes src-address=192.168.1.0/24
add action=drop chain=forward comment="== BLOCK L7 TORR TRACK ==" content=tracker disabled=yes src-address=192.168.1.0/24
add action=drop chain=forward comment="== BLOCK L7 TORR HASH ==" content=info_hash disabled=yes src-address=192.168.1.0/24
add action=drop chain=forward comment="== BLOCK L7 TORR ANNOUNCE ==" content=announce_peers disabled=yes src-address=192.168.1.0/24
- u načítání nepovolených webových stránek je vhodný dát reject a dát uživateli na jevo "že stránka nenalezena", když je tam drop tak stránka v prohlížeči zůstane stále u "načítání".