SSH Fail2ban 설치하기 yum install -y fail2ban # 기본 수정 파일 vi /etc/fail2ban/jail.conf # 기본 수정 파일의 경우 업데이트시 새로 덮어씌우기 때문에 새로 만들어서 관리합니다. vi /etc/fail2ban/jail.d/local.conf # 아래 내용을 추가합니다. [DEFAULT] # Common ignoreip = 127.0.0.1/8 bantime = 86400 findtime = 86400 maxretry = 3 banaction = firewallcmd-new # Mail destemail = 알림 수신메일 주소 sender = 알림 발신메일 주소 # Action action_mw = %(banaction)s[name=%(__name__)s, bantime="%(bantime)s", port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"] %(mta)s-whois[na...
#
ban
#
서버보안
#
서버
#
보안
#
무작위시도차단
#
무작위시도
#
ssh보안
#
ssh
#
fail2ban
#
차단