m

fail2ban 설치

· 2021-04-13 (화) 07:49:57 · 1275

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

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

자유게시판

203,071건
+
제목 글쓴이 날짜 조회
21-04-13 조회 2,301
21-04-13 조회 1,268
21-04-13 조회 2,114
21-04-13 조회 1,451
21-04-13 조회 1,366
21-04-13 조회 1,529
21-04-13 조회 2,389
21-04-13 조회 2,491
21-04-13 조회 928
21-04-13 조회 947
21-04-13 조회 1,427
21-04-13 조회 1,276
21-04-13 조회 1,305
21-04-12 조회 1,724
21-04-12 조회 2,544
21-04-12 조회 1,297
21-04-12 조회 2,257
21-04-12 조회 1,272
21-04-12 조회 1,598
21-04-12 조회 1,300