به IP > Firewall > Layer 7 Protocol f بروید و یک رول جدید اضافه کنید و یک اسم وارد کنید مثلا torrent-www

حالا قسمت regexp خط زیر رو کامل پیست کنبد

^.*(get|GET).+(torrent|thepiratebay|isohunt|entert ane|demonoid|btjunkie|mininova|flixflux|torrentz|v ertor|h33t|btscene|bitunity|bittoxic|thunderbytes| entertane|zoozle|vcdq|bitnova|bitsoup|meganova|ful ldls|btbot|flixflux|seedpeer|fenopy|gpirate|common bits).*$
بعد ok کنید

توجه به جای کار با winbox از New Terminal بروید و خط دستور زیر را بزنید

/ip firewall layer7-protocol
add comment="" name=torrent-wwws regexp="^.*(get|GET).+(torrent|thepiratebay|isohun t|entertane|demonoid|btjunkie|mininova|flixflux|to rrentz|vertor|h33t|btscene|bitunity|bittoxic|thund erbytes|entertane|zoozle|vcdq|bitnova|bitsoup|mega nova|fulldls|btbot|flixflux|seedpeer|fenopy|gpirat e|commonbits).*$"
خب حالا امکان ***** کردن راحت تر شد

حالا به سربرگ filter rule بروید و یک روز جدید اضافه کنید

سپس قسمت Advanced به Layer 7 Protocol نام رول که ساختید را بزنید و در سربرگ Action بر روی drop تنظیم کنید

خط دستور :



/ip firewall filter
add action=drop chain=forward comment="block torrent wwws" disabled=no layer7-protocol=\
torrent-wwws
تقریبا تمام شد .

حالا تمرین شما :

regexp های زیر را مسدود کنید ( این ها مربوط به سرویس dns تورنت و p2p میباشند )

^.+(torrent|thepiratebay|isohunt|entertane|demonoi d|btjunkie|mininova|flixflux|torrentz|vertor|h33t| btscene|bitunity|bittoxic|thunderbytes|entertane|z oozle|vcdq|bitnova|bitsoup|meganova|fulldls|btbot| flixflux|seedpeer|fenopy|gpirate|commonbits).*$