Blocking Torrent in 6.27

Hello,
and i idea to block or limit torrent in 6.27?? :open_mouth: :open_mouth: :open_mouth:

I Use this in layer 7 protocol to identify Torrent then block rule in firewall forward chain.

/ip firewall layer7-protocol
add name=bittorrent regexp=ā€œ^(\x13bittorrent protocol|azver\x01$|get /scrape
\?info_hash=get /announce\?info_hash=|get /client/bitcomet/|GET /data\
?fid=)|d1:ad2:id20:|\x08’7P\)[RP]ā€

not works

What torrent program are you using?

Check this tread.
http://forum.mikrotik.com/t/how-to-block-torrent-100-only-2-lines-it-is-solved/66890/1

i am using utorrent and yes i want block almost any torrent and the link you give me the code is error because there is no thing like /ip ff in mikrotik

please give me export code from your router and dont forget i am using 6.27 v
and if you have windows update block code please give it to me too.

:IP/Firewall/Filter
I didn’t work with ā€œP2Pā€ section. But maybe If you Drop all P2P, that should work, I don’t know.

But It’s about a year I’m using Leach services. It’s funny. slow torrents become fast TCP 80 download :smiley:

This is user ohara ip firewall rules poasted in the other thread.

These rules block new torrents not the ones u already have started.

/ip firewall filter
add action=drop chain=forward comment=ā€œTORRENT No 1: Classic non security torrentā€ disabled=no p2p=all-p2p
add action=drop chain=forward comment=ā€œTORRENT No 2: block outgoing DHTā€ content=d1:ad2:id20: disabled=no dst-port=1025-65535 packet-size=95-190 protocol=udp
add action=drop chain=forward comment=ā€œTORRENT No 3: block outgoing TCP announceā€ content=ā€œinfo_hash=ā€ disabled=no dst-port=2710,80 protocol=tcp
add action=drop chain=forward comment=ā€œTORRENT No 4: prohibits download .torrent files. " content=ā€\r\nContent-Type: application/x-bittorrent" disabled=no protocol=tcp src-port=80
add action=drop chain=forward comment=ā€œTORRENT No 5: 6771 block Local Broadcastā€ content=ā€œ\r\nInfohash:ā€ disabled=no dst-port=6771 protocol=udp

thanks alot my friend…
it now works2

Can anyone help with rules for v6.30.2 with NAT and fasttrack?