Заблокируйте Bittorrent и P2P с помощью последней версии MikroTik RouterOS 6.43.3. Новая версия ПО MikroTik перестала блокировать торренты и P2P с ошибкой "P2P matcher устарел, пожалуйста, используйте layer7 matcher вместо". Вот новая и обновлённая конфигурация, которая всё ещё работает в 2020 году — шаги, которые заблокируют торренты и P2P-трафик с роутера MikroTik:
В терминале:
/ip firewall layer7-protocol add comment="Block Bit Torrent" name=layer7-bittorrent-exp regexp="^(\x13bitt orrent protocol|azver\x01$|get /scrape?info_hash=get /announce?info_hash=|get /client/bitcomet/|GET /data?fid=)|d1:ad2:id20:|\x08’7P\)[ RP]"
/ip firewall filter add action=add-src-to-address-list address-list=Torrent-Conn address-list-timeout=2m chain=forward layer7-protocol=layer7-bittorrent-exp src-address=192.168.2.0/24 src-address-list=!allow-bit
/ip firewall filter add action=drop chain=forward dst-port=!0-1024,8291,5900,5800,3389,14147,5222,59905 protocol=tcp src-address-list=Torrent-Conn
/ip firewall filter add action=drop chain=forward dst-port=!0-1024,8291,5900,5800,3389,14147,5222,59905 protocol=udp src-address-list=Torrent-Conn
В терминале:
/ip firewall layer7-protocol add comment="Block Bit Torrent" name=layer7-bittorrent-exp regexp="^(\x13bitt orrent protocol|azver\x01$|get /scrape?info_hash=get /announce?info_hash=|get /client/bitcomet/|GET /data?fid=)|d1:ad2:id20:|\x08’7P\)[ RP]"
/ip firewall filter add action=add-src-to-address-list address-list=Torrent-Conn address-list-timeout=2m chain=forward layer7-protocol=layer7-bittorrent-exp src-address=192.168.2.0/24 src-address-list=!allow-bit
/ip firewall filter add action=drop chain=forward dst-port=!0-1024,8291,5900,5800,3389,14147,5222,59905 protocol=tcp src-address-list=Torrent-Conn
/ip firewall filter add action=drop chain=forward dst-port=!0-1024,8291,5900,5800,3389,14147,5222,59905 protocol=udp src-address-list=Torrent-Conn

