(새 문서: Fail2ban 설정은 configure 명령어에서 설정할 수 있습니다. <pre> LYSH@MyHostName# configure configure# fail2ban -h usage: fail2ban [-h] {add,disable,enable} ... confi...) |
잔글 (Kang님이 Fail2ban 설정 문서를 CLI - Fail2ban 설정 문서로 이동했습니다) |
(차이 없음)
| |
2020년 12월 17일 (목) 09:32 판
Fail2ban 설정은 configure 명령어에서 설정할 수 있습니다.
LYSH@MyHostName# configure
configure# fail2ban -h
usage: fail2ban [-h] {add,disable,enable} ...
config fail2ban
positional arguments:
add Configure fail2ban
disable Disable fail2ban service
enable Enable fail2ban service
optional arguments:
-h, --help show this help message and exit
Basic Commands
configure# fail2ban add -h usage: fail2ban add [-h] [bantime] [findtime] [maxretry] positional arguments: bantime The number of seconds that a host is banned findtime The length of time between login attempts before a ban is set maxretry How many attempts can be made to access the server before a ban is imposed optional arguments: -h, --help show this help message and exit
configure# fail2ban add 3600 86400 5원격 접속을 86400초 동안 5번 실패하면 3600초 동안 접속을 방지합니다.configure# fail2ban enablefail2ban을 활성화 합니다.configure# fail2ban disablefail2ban을 비활성화 합니다.