Перед применением конфигурации: /ip service set telnet disabled=yes set ftp disabled=yes set www disabled=yes set api disabled=yes set api-ssl disabled=yes set winbox port=9218 /ip firewall address-list add address=192.168.1.0/24 list=allowed_management comment="Локальная сеть" /ip firewall filter remove [find] add chain=input connection-state=established,related action=accept comment="Разрешить установленные соединения" add chain=input protocol=tcp dst-port=9218 src-address-list=allowed_management action=accept comment="Разрешить WinBox из локальной сети" add chain=input protocol=tcp psd=21,3s,3,1 action=add-dst-to-address-list address-list=blacklist address-list-timeout=1d comment="Обнаружение Port Scan" add chain=input src-address-list=blacklist action=drop comment="Блокировать черный список" add chain=input protocol=tcp tcp-flags=syn connection-state=new limit=50,5:packet action=accept comment="Защита от SYN flood" add chain=input protocol=tcp tcp-flags=syn connection-state=new act
Базовая защитная конфигурация MikroTik от 24.11.2024 (КОНСОЛЬ)
24 ноября 202424 ноя 2024
178
2 мин