Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
776 views1 page

Mikrotik Torrent Block Script

The document configures a firewall to block BitTorrent and torrent traffic. It defines three regular expressions to detect BitTorrent, torrent website, and torrent download protocols. It then adds rules to the firewall filter to reject and drop any traffic matching these protocols moving between networks.

Uploaded by

Everton Kozloski
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
776 views1 page

Mikrotik Torrent Block Script

The document configures a firewall to block BitTorrent and torrent traffic. It defines three regular expressions to detect BitTorrent, torrent website, and torrent download protocols. It then adds rules to the firewall filter to reject and drop any traffic matching these protocols moving between networks.

Uploaded by

Everton Kozloski
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

/ip firewall layer7-protocol

add name=bittorrent regexp="^(\13bittorrent protocol|azver\01\$|get /scrape\\\?


info_hash=)|d1:ad2:id20:|\08'7P\\)[RP]"
add name=torrent-wws regexp="^.*(get|GET).+(torrent|info_hash|thepiratebay|isohunt|
entertane|demonoid|btjunkie|mininova|flixflux|vertor|h33t|zoozle|bitnova|bits\
oup|meganova|fulldls|btbot|fenopy|gpirate|commonbits).*\$"
add name=torrent-www regexp="^.+(torrent|thepiratebay|isohunt|entertane|demonoid|
btjunkie|mininova|flixflux|vertor|h33t|zoozle|bitnova|bitsoup|meganova|fulldls|\
btbot|fenopy|gpirate|commonbits).*\$"

/ip firewall filter


add action=reject chain=forward disabled=no p2p=all-p2p reject-with=icmp-network-
unreachable
add action=reject chain=forward disabled=no layer7-protocol=bittorrent reject-
with=icmp-network-unreachable
add action=reject chain=forward disabled=no layer7-protocol=torrent-wws reject-
with=icmp-network-unreachable
add action=reject chain=forward disabled=no layer7-protocol=torrent-www reject-
with=icmp-network-unreachable

You might also like