20 เมษายน 2552

วิธีป้องกัน SSH Brute Force บน Endian Firewall

case "$1" in start) iptables -I INPUT -p tcp --dport 22 -i eth0 -m state --state NEW -m recent --set iptables -I INPUT -p tcp --dport 22 -i eth0 -m state --state NEW -m recent --update --seconds 600 --hitcount 2 -j DROP ## add your 'start' rules here ;; stop) ## add your 'stop' rules here ;; reload) ## add your 'reload' rules here ;; *) echo "Usage: $0 {start|reload|stop}" esac ********************* reboot endian firewall ใหม่ mrt2514 บ.ไอทีทริปเปิลพลัส จก.

ไม่มีความคิดเห็น:

แสดงความคิดเห็น