Sunday, June 16, 2013

Rules that helped me in a fight against torrents

Update: Snap! This rules doesn't work, connections keep multiplied until 1000! add action=add-src-to-address-list address-list=torrent address-list-timeout=\ 30m chain=forward disabled=no p2p=all-p2p src-address-list=users add action=accept chain=forward connection-limit=!15,32 disabled=no dst-port=\ !80 out-interface=Internet protocol=tcp src-address-list=torrent add action=accept chain=forward connection-limit=!15,32 disabled=no \ dst-address-list=torrent in-interface=Internet protocol=tcp src-port=!80 add action=drop chain=forward disabled=no dst-port=!80 protocol=tcp \ src-address-list=torrent add action=drop chain=forward disabled=no dst-address-list=torrent protocol=\ tcp src-port=!80 add action=accept chain=forward disabled=yes limit=20,5 protocol=udp \ src-address-list=torrent add action=accept chain=forward disabled=yes dst-address-list=torrent limit=\ 20,5 protocol=udp add action=drop chain=forward disabled=no protocol=udp src-address-list=\ torrent add action=drop chain=forward comment="end torrent" disabled=no \ dst-address-list=torrent protocol=udp

0 comments:

Post a Comment