User Tools

Site Tools


fail2ban_wp-login

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
fail2ban_wp-login [2016/09/04 15:51] – created luke7858fail2ban_wp-login [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 8: Line 8:
 Append the following to /etc/fail2ban/jail.conf Append the following to /etc/fail2ban/jail.conf
 <sxh bash> <sxh bash>
-v[wp-login]+[wp-login]
 enabled = true enabled = true
 port = http,https port = http,https
 +filter = wp-login
 logpath = %(nginx_access_log)s logpath = %(nginx_access_log)s
 maxretry = 4 maxretry = 4
Line 16: Line 17:
 # bantime: 1 year # bantime: 1 year
 bantime = 31536000 bantime = 31536000
-</sxh> 
- 
- 
-<sxh bash> 
- 
- 
 </sxh> </sxh>
fail2ban_wp-login.1473004307.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki