46. Mikrotik Manual Block|Drop Torrent, Utorrent and Bit torrent conntection


/ip firewall layer7-protocol
add comment="Block Bit Torrent" name=layer7-bittorrent-exp regexp="^(\\x13bitt\
    orrent protocol|azver\\x01\$|get /scrape\\\?info_hash=get /announce\\\?inf\
    o_hash=|get /client/bitcomet/|GET /data\\\?fid=)|d1:ad2:id20:|\\x08'7P\\)[\
    RP]"
/ip firewall address-list
add address=10.10.11.253 list=bit-list

/ip firewall filter
add action=drop chain=forward disabled=yes dst-port=!80,443 protocol=tcp \
    src-address-list=bit-list
add action=drop chain=forward disabled=yes protocol=udp src-address-list=\
    bit-list

Previous
Next Post »