��于 /etc/fail2ban/jail.conf，但建议创建一个本地配置文件：</p> <div class="language- extra-class"><pre class="language-text"><code>sudo cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local

sudo nano /etc/fail2ban/jail.local
</code></pre></div><p>在 jail.local 部分的[DEFAULT]节中，有一些基本的设置，具体如下：</p> <div class="language- extra-class"><pre class="language-text"><code>bantime = 10m
findtime = 10m
maxretry = 5
</code></pre></div><p>禁用时间是指 IP 被禁�