fail2ban 설치 > 자유게시판

자유게시판

fail2ban 설치 정보

fail2ban 설치

본문

fail2ban 설치

dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
dnf install fail2ban

cp jail.conf jail.local
vi /etc/fail2ban/jail.local

[DEFAULT]
ignoreip = 192.168.0.2/24
bantime  = 604800
findtime  = 180
maxretry = 3
banaction = iptables-multiport
backend = systemd

[sshd]
enabled = true

systemctl start fail2ban
systemctl enable fail2ban
systemctl status fail2ban

fail2ban-client status sshd

추천
1
  • 복사

댓글 0개

© SIRSOFT
현재 페이지 제일 처음으로