Mikrotik Cheatsheet [IP firewall filter]
 src: http://wiki.mikrotik.com/wiki/Bruteforce_login_prevention    To stop SSH/FTP attacks on your router, follow this advice.  This configuration allows only 10 FTP login incorrect answers per minute  in /ip firewall filter    add chain=input protocol=tcp dst-port=21 src-address-list=ftp_blacklist action=drop \  comment="drop ftp brute forcers"    add chain=output action=accept protocol=tcp content="530 Login incorrect" dst-limit=1/1m,9,dst-address/1m    add chain=output action=add-dst-to-address-list protocol=tcp content="530 Login incorrect" \  address-list=ftp_blacklist address-list-timeout=3h   This will prevent a SSH brute forcer to be banned for 10 days after repetitive attempts. Change the timeouts as necessary.  in /ip firewall filter    add chain=input protocol=tcp dst-port=22 src-address-list=ssh_blacklist action=drop \  comment="drop ssh brute forcers" disabled=no    add chain=input protocol=tcp dst-port=22 connection-state=new \  src...