Closed zwrawr closed 7 years ago
Done. Banned then following ips and now logs are much quieter.
-A f2b-sshd -s 222.59.162.13/32 -j REJECT --reject-with icmp-port-unreachable -A f2b-sshd -s 121.18.238.109/32 -j REJECT --reject-with icmp-port-unreachable -A f2b-sshd -s 116.31.116.36/32 -j REJECT --reject-with icmp-port-unreachable
Need to install and setup fail2ban to deal with all bot that try to login as root.
https://www.digitalocean.com/community/tutorials/how-to-protect-ssh-with-fail2ban-on-ubuntu-14-04?utm_medium=social&utm_source=twitter&utm_campaign=ssh_fail2ban_tut&utm_content=no_image