Changes

From SME Server
Jump to navigationJump to search
1,137 bytes added ,  22:50, 21 March 2019
→‎Recommended Plugins: added comments about using Fail2Ban with WordPress
Line 183: Line 183:  
Configure other Akismet settings as required.
 
Configure other Akismet settings as required.
 
Save your changes, exit as admin user, and start using your blogsite.
 
Save your changes, exit as admin user, and start using your blogsite.
 +
 +
==== Fail2Ban ====
 +
Fail2Ban is a contrib that blocks IP addresses involved in brute force logon attempts and such. See [[Fail2ban]]. In order to make Fail2Ban work with WordPress, the user "holck" posted the following code in thread https://forums.contribs.org/index.php/topic,53711.msg279902.html in the SME 9 Contribs forum. Holck notes that the standard jail for WordPress appears to work, but does not block the offending IP addresses. <blockquote>[wordpress-hard]</blockquote><blockquote>enabled = true</blockquote><blockquote>filter = wordpress-hard</blockquote><blockquote>logpath = /var/log/messages</blockquote><blockquote>maxretry = 3</blockquote><blockquote>action = smeserver-iptables[port="80,443",protocol=tcp,bantime=1800]</blockquote><blockquote>backend = polling</blockquote><blockquote></blockquote><blockquote>[wordpress-soft]</blockquote><blockquote>enabled  = true</blockquote><blockquote>filter = wordpress-soft</blockquote><blockquote>logpath = /var/log/messages</blockquote><blockquote>action = smeserver-iptables[port="80,443",protocol=tcp,bantime=1800]</blockquote><blockquote>backend = polling </blockquote>
    
===Backup of Wordpress===
 
===Backup of Wordpress===
81

edits

Navigation menu