Reference : พีชญกานต์

/usr/sbin/iptables -I INPUT -p tcp –dport 22 -i eno1 -m state –state NEW -m recent –set

/usr/sbin/iptables -I INPUT -p tcp –dport 22 -i eno1 -m state –state NEW -m recent –update –seconds 60 –hitcount 4 -j DROP

Advertisements