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
게시글 목록
| 번호 | 제목 |
|---|---|
| 1717479 | |
| 1717473 | |
| 1717470 | |
| 1717463 | |
| 1717452 | |
| 1717438 | |
| 1717431 | |
| 1717422 | |
| 1717414 | |
| 1717412 | |
| 1717407 | |
| 1717401 | |
| 1717393 | |
| 1717386 | |
| 1717379 | |
| 1717378 | |
| 1717365 | |
| 1717364 | |
| 1717360 | |
| 1717359 | |
| 1717346 | |
| 1717344 | |
| 1717333 | |
| 1717327 | |
| 1717313 | |
| 1717312 | |
| 1717310 | |
| 1717307 | |
| 1717306 | |
| 1717304 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기