Page 1 of 1
Blocking Torrent in 6.27
Posted: Sun Mar 29, 2015 12:07 pm
by qudama
Hello,
and i idea to block or limit torrent in 6.27??
Re: Blocking Torrent in 6.27
Posted: Sun Mar 29, 2015 12:35 pm
by kivimart
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]"
Re: Blocking Torrent in 6.27
Posted: Sun Mar 29, 2015 4:11 pm
by qudama
not works
Re: Blocking Torrent in 6.27
Posted: Sun Mar 29, 2015 5:40 pm
by kivimart
What torrent program are you using?
Re: Blocking Torrent in 6.27
Posted: Sun Mar 29, 2015 5:42 pm
by kivimart
Re: Blocking Torrent in 6.27
Posted: Sun Mar 29, 2015 7:01 pm
by qudama
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.
Re: Blocking Torrent in 6.27
Posted: Sun Mar 29, 2015 9:03 pm
by hossain2004a
: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
Re: Blocking Torrent in 6.27
Posted: Sun Mar 29, 2015 9:12 pm
by kivimart
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
Re: Blocking Torrent in 6.27
Posted: Mon Mar 30, 2015 3:04 am
by qudama
thanks alot my friend...
it now works2
Re: Blocking Torrent in 6.27
Posted: Thu Aug 06, 2015 10:07 am
by sasha2002
Can anyone help with rules for v6.30.2 with NAT and fasttrack?