fail2ban 자동 ip 차단

페이지 정보

작성자 조희승 댓글 0건 조회 8,496회 작성일 14-11-18 13:59

본문

http://srzero.tistory.com/entry/dfd

apt-get install fail2ban


/etc/fail2ban/jail.conf
으로 설정
ssh는 자동 설정됨


bantime  = 86400 # 1 day
bantime  = 604800 # 1 week




해제시 iptables -F




centos에서는
https://www.digitalocean.com/community/tutorials/how-to-protect-ssh-with-fail2ban-on-centos-7

jail.d/00-firewalld.conf룰 없애줘야함

[sshd]
enabled = true

댓글목록

등록된 댓글이 없습니다.