You are on page 1of 1

/ip firewall layer7-protocol

add comment="by ega chanel" name="l7 torrent" regexp="^(\\x13bittorrent protoc\


ol|azver\\x01\$|get /scrape\\\?info_hash=get /announce\\\?info_hash=|get /\
client/bitcomet/|GET /data\\\?fid=)|d1:ad2:id20:|\\x08'7P\\)[RP]"

/ip firewall filter


add action=add-src-to-address-list address-list="PENGGUNA TORRENT" \
address-list-timeout=2m chain=forward comment="Pengguna Torrent All " \
layer7-protocol="l7 torrent" src-address=192.168.21.0/24

add action=drop chain=forward dst-port=\


!0-1024,8291,5900,5800,3389,14147,5222,59905 protocol=tcp \
src-address-list="PENGGUNA TORRENT"
add action=drop chain=forward dst-port=\
!0-1024,8291,5900,5800,3389,14147,5222,59905 protocol=udp \
src-address-list="PENGGUNA TORRENT"

You might also like