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
게시글 목록
| 번호 | 제목 |
|---|---|
| 1716903 | |
| 1716902 | |
| 1716899 | |
| 1716894 | |
| 1716892 | |
| 1716888 | |
| 1716864 | |
| 1716861 | |
| 1716856 | |
| 1716851 | |
| 1716850 | |
| 1716848 | |
| 1716843 | |
| 1716841 | |
| 1716834 | |
| 1716830 | |
| 1716828 | |
| 1716821 | |
| 1716819 | |
| 1716815 | |
| 1716811 | |
| 1716809 | |
| 1716808 | |
| 1716795 | |
| 1716791 | |
| 1716784 | |
| 1716783 | |
| 1716781 | |
| 1716773 | |
| 1716765 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기