m

fail2ban 설치

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

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

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

자유게시판

202,879건
+
제목 글쓴이 날짜 조회
21-04-13 조회 1,257
21-04-13 조회 1,490
21-04-13 조회 1,597
21-04-13 조회 1,663
21-04-13 조회 3,566
21-04-13 조회 1,283
21-04-13 조회 1,635
21-04-13 조회 1,321
21-04-13 조회 2,281
21-04-13 조회 1,250
21-04-13 조회 2,104
21-04-13 조회 1,439
21-04-13 조회 1,354
21-04-13 조회 1,516
21-04-13 조회 2,369
21-04-13 조회 2,473
21-04-13 조회 915
21-04-13 조회 933
21-04-13 조회 1,412
21-04-13 조회 1,260