Block torrent downloads

Block torrent download

To block torrent downloads on Mikrotik Router Board can do that with the firewall layer7 protocol.
dns
Click "IP" and "firewall".
dns
Click "layer7 protocol" click on the blue cross.
dns
Enter a name.
dns
Now put the text in the window, you can copy it and paste it here.
^.+(torrent|thepiratebay|isohunt|entertane|demonoid|btjunkie|mininova|flixflux|vertor|h33t|zoozle|bitnova|bitsoup|meganova|fulldls|btbot|fenopy|gpirate|commonbits).*$
dns
Click "OK" then back on the blue cross
dns
Enter a name.
dns
Now put the text in the window, you can copy it and paste it here.
^.*(get|GET).+(torrent|thepiratebay|isohunt|entertane|demonoid|btjunkie|mininova|flixflux|vertor|h33t|zoozle|bitnova|bitsoup|meganova|fulldls|btbot|fenopy|gpirate|commonbits).*$
dns
Click "OK" now customize the firewall.
dns
    Go to the "filter rules" to "general" "chain" select "forward".
  • For "out interface" select the WAN interface.
  • Continue clicking to "advanced".
dns
  • At "layer7 protocol" you select the regeexp you created.
  • Continue clicking to "action".
dns
In "action" select "drop".
dns
Go again to "filter rules" to "general" "chain" select "forward". For "out interface" select the WAN interface. Continue clicking to "advanced".
dns
At "layer7 protocol" you select the second regeexp you created.
dns
In "action" select "drop".
The firewall rules are hard on the CPU load.

Comments

Popular Posts