Commit 756537bd by Administrator

修改 Fail2Ban 介绍

parent 933d09f7
# 服务器初始化基础服务拟定方案 # 服务器初始化基础服务拟定方案
...@@ -99,6 +99,7 @@ IgnoreRhosts yes ...@@ -99,6 +99,7 @@ IgnoreRhosts yes
``` ```
## 添加 Fail2Ban 服务防止暴力破解 * ## 添加 Fail2Ban 服务防止暴力破解 *
Fail2Ban 的策略是:在十分钟内输入密码错误超过五次,那么客户端ip被禁止访问此服务器十分钟。
Ansible Yaml 文件内容如下: Ansible Yaml 文件内容如下:
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment