Filter: Auto Blacklist SSH/Telnet Spammer

/ip firewall filter
add action=drop chain=input comment="drop brute forcers" dst-port=22,23 protocol=tcp src-address-list=ssh_blacklist

add action=add-src-to-address-list address-list=ssh_blacklist address-list-timeout=4w2d chain=input connection-state=new dst-port=22,23 protocol=tcp src-address-list=ssh_stage3

add action=add-src-to-address-list address-list=ssh_stage3 address-list-timeout=1m chain=input connection-state=new dst-port=22,23 protocol=tcp src-address-list=ssh_stage2

add action=add-src-to-address-list address-list=ssh_stage2 address-list-timeout=1m chain=input connection-state=new dst-port=22,23 protocol=tcp src-address-list=ssh_stage1

add action=add-src-to-address-list address-list=ssh_stage1 address-list-timeout=1m chain=input connection-state=new dst-port=22,23 protocol=tcp

4 thoughts on “Filter: Auto Blacklist SSH/Telnet Spammer

  1. I have read several good stuff here. Definitely worth bookmarking for revisiting. I surprise how much effort you put to create such a great informative website.

  2. Another thing I have really noticed is that for many people, less-than-perfect credit is the response to circumstances beyond their control. One example is they may be actually saddled through an illness and because of this they have more bills going to collections. It could be due to a occupation loss or the inability to work. Sometimes divorce proceedings can really send the finances in the wrong direction. Many thanks for sharing your notions on this blog.

Leave a Reply

Your email address will not be published. Required fields are marked *