كل اللي هتعمله هتاخد الرول ده كوبي بست في النيوتيرمنال
/ip firewall layer7-protocol
add name=bittorrent regexp="^(\13bittorrent protocol|azver\01\$|get/scrape\\\?in\
fo_hash=)|d1:ad2:id20:|\08'7P\\)[RP]"
/ip firewall filter
add action=add-src-to-address-list address-list=\
"\DD\D4\CE\E4\CC\EC \CA\E6\D1\E4\CA" address-list-timeout=1h chain=forward \
comment="\DF\C7\C6\E4\C7\CA \DD\D4\CE\E4\CC\ED\C9 \CA\E6\D1\E4\CA" \
disabled=no layer7-protocol=bittorrent
add action=drop chain=forward disabled=no dst-port=!53 protocol=udp \
src-address-list="\DD\D4\CE\E4\CC\EC \CA\E6\D1\E4\CA"
add action=drop chain=forward disabled=no dst-port=!80,443 protocol=tcp \
src-address-list="\DD\D4\CE\E4\CC\EC \CA\E6\D1\E4\CA"
add name=bittorrent regexp="^(\13bittorrent protocol|azver\01\$|get/scrape\\\?in\
fo_hash=)|d1:ad2:id20:|\08'7P\\)[RP]"
/ip firewall filter
add action=add-src-to-address-list address-list=\
"\DD\D4\CE\E4\CC\EC \CA\E6\D1\E4\CA" address-list-timeout=1h chain=forward \
comment="\DF\C7\C6\E4\C7\CA \DD\D4\CE\E4\CC\ED\C9 \CA\E6\D1\E4\CA" \
disabled=no layer7-protocol=bittorrent
add action=drop chain=forward disabled=no dst-port=!53 protocol=udp \
src-address-list="\DD\D4\CE\E4\CC\EC \CA\E6\D1\E4\CA"
add action=drop chain=forward disabled=no dst-port=!80,443 protocol=tcp \
src-address-list="\DD\D4\CE\E4\CC\EC \CA\E6\D1\E4\CA"
0 التعليقات:
إرسال تعليق