Fail2ban: Difference between revisions

m
no edit summary
iwu
 
mNo edit summary
 
Line 23: Line 23:
Ban an IP from accessing any of the websites
Ban an IP from accessing any of the websites
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
# fail2ban-client set httpd banip 81.19.140.244
$ sudo fail2ban-client set httpd banip 81.19.140.244
</syntaxhighlight>
</syntaxhighlight>