This commit is contained in:
Zhang Huangbin 2020-07-20 13:41:01 +08:00
parent c025e7bcb4
commit 98d430401f
2 changed files with 6 additions and 6 deletions

View File

@ -152,9 +152,9 @@ actionban = /usr/local/bin/fail2ban_banned_db ban <ip> <port> <protocol> <name
Download improved shell script and replace the existing one:
```
wget https://github.com/iredmail/iRedMail/raw/1.3/samples/fail2ban/bin/fail2ban_banned_db
mv fail2ban_banned_db /usr/local/bin/
chmod 0550 /usr/local/bin/fail2ban_banned_db
cd /usr/local/bin
wget -O fail2ban_banned_db https://github.com/iredmail/iRedMail/raw/1.3/samples/fail2ban/bin/fail2ban_banned_db
chmod 0550 fail2ban_banned_db
```
Now restart Fail2ban service.

View File

@ -165,9 +165,9 @@ line like below:</p>
</code></pre>
<p>Download improved shell script and replace the existing one:</p>
<pre><code>wget https://github.com/iredmail/iRedMail/raw/1.3/samples/fail2ban/bin/fail2ban_banned_db
mv fail2ban_banned_db /usr/local/bin/
chmod 0550 /usr/local/bin/fail2ban_banned_db
<pre><code>cd /usr/local/bin
wget -O fail2ban_banned_db https://github.com/iredmail/iRedMail/raw/1.3/samples/fail2ban/bin/fail2ban_banned_db
chmod 0550 fail2ban_banned_db
</code></pre>
<p>Now restart Fail2ban service.</p>