Files
tldr/pages.zh/linux/fail2ban-client.md

16 lines
371 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# fail2ban-client
> 配置和控制 fail2ban 服务器。
> 更多信息:<https://github.com/fail2ban/fail2ban>。
- 获取监狱服务的当前状态:
`fail2ban-client status {{jail}}`
- 从监狱服务的禁用列表中移除指定的 IP
`fail2ban-client set {{jail}} unbanip {{ip}}`
- 验证 fail2ban 服务器是否正常运行:
`fail2ban-client ping`