[CentOS] fail2ban
2014. 8. 4. 13:58ㆍOS/CentOS
# yum -y install epel-release
# yum -y install fail2ban
# chkconfig fail2ban on
# vi /etc/fail2ban/jail.conf
>---------------------------------------<
[ssh-iptables]
sendmail-whois[dest=lssic@homibox.com, sender=fail2ban@homibox.com, sendername="HOMI"]
findtime = 3600
>---------------------------------------<
# service fail2ban start
ban 확인
# iptables -L
ban 해제
# fail2ban-client set ssh-iptables unbanip 192.168.1.101
'OS > CentOS' 카테고리의 다른 글
[CentOS] NFS (0) | 2014.09.03 |
---|---|
[CentOS] RAID (0) | 2014.08.25 |
[CentOS] Network Bond (0) | 2014.08.04 |
[CentOS] snmp (0) | 2014.08.04 |
[NAS] Xtreamer e-TRAYz (0) | 2012.08.30 |