m

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

|
댓글을 작성하시려면 로그인이 필요합니다.

자유게시판

+
제목 글쓴이 날짜 조회
4년 전 조회 1,139
4년 전 조회 1,457
4년 전 조회 1,179
4년 전 조회 2,031
4년 전 조회 1,125
4년 전 조회 1,879
4년 전 조회 1,227
4년 전 조회 1,233
4년 전 조회 1,342
4년 전 조회 2,190
4년 전 조회 2,189
4년 전 조회 799
4년 전 조회 809
4년 전 조회 1,264
4년 전 조회 1,111
4년 전 조회 1,130
4년 전 조회 1,538
4년 전 조회 2,308
4년 전 조회 1,145
4년 전 조회 2,008
4년 전 조회 1,123
4년 전 조회 1,421
4년 전 조회 1,131
4년 전 조회 1,424
4년 전 조회 1,170
4년 전 조회 1,518
4년 전 조회 1,151
4년 전 조회 1,131
4년 전 조회 2,678
4년 전 조회 1,458