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

MikroTik Drop P2P

This document provides firewall rules to block torrent and peer-to-peer traffic for devices on the 192.168.1.0/24 network. It creates layer 7 and content-based firewall rules to drop traffic containing torrent keywords, trackers, peer requests and hashes. A default rule is also added to drop all peer-to-peer traffic.

Uploaded by

offline71
Copyright
© Attribution Non-Commercial (BY-NC)
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)
483 views1 page

MikroTik Drop P2P

This document provides firewall rules to block torrent and peer-to-peer traffic for devices on the 192.168.1.0/24 network. It creates layer 7 and content-based firewall rules to drop traffic containing torrent keywords, trackers, peer requests and hashes. A default rule is also added to drop all peer-to-peer traffic.

Uploaded by

offline71
Copyright
© Attribution Non-Commercial (BY-NC)
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> use winbox to copy paste name=torrentsites regexp:^.*(get|GET).+(torrent|thepiratebay|isohunt|entertane|demonoid|btjunkie|m ininova|flixflux| torrentz|vertor|h33t|btscene|bitunity|bittoxic|thunderbytes| entertane|zoozle|vcdq|bitnova|bitsoup|meganova|fulldls|btbot| flixflux|seedpeer|fenopy|gpirate|commonbits).

*$ /ip firewall filter> add chain=forward src-address=192.168.1.0/24 layer7-protocol=torrentsites action =drop comment=torrentsites add chain=forward src-address=192.168.1.0/24 protocol=17 dst-port=53 layer7-prot ocol=torrentsites action=drop comment=dropDNS add chain=forward src-address=192.168.1.0/24 content=torrent action=drop comment =keyword_drop add chain=forward src-address=192.168.1.0/24 content=tracker action=drop comment =trackers_drop add chain=forward src-address=192.168.1.0/24 content=getpeers action=drop commen t=get_peers_drop add chain=forward src-address=192.168.1.0/24 content=info_hash action=drop comme nt=info_hash_drop add chain=forward src-address=192.168.1.0/24 content=announce_peers action=drop comment=announce_peers_drop & also use default rule to drop p2p traffic which alone is not working for me add chain=forward src-address=192.168.1.0/24 p2p=all-p2p action=drop comment=p2p _drop Replace src-addres with your own addres.

You might also like