Update 'config/Fail2Ban/setup-fail2banWP.sh'
This commit is contained in:
@@ -11,6 +11,9 @@ echo "ignoreip = 127.0.0.1/8 $sysip" >> /etc/fail2ban/jail.local
|
|||||||
|
|
||||||
sudo service fail2ban restart
|
sudo service fail2ban restart
|
||||||
|
|
||||||
|
wget -O /opt/fail2ban-generate-blocklist.sh https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Web/raw/branch/master/config/Fail2Ban/fail2ban-generate-blocklist.sh
|
||||||
|
chmod +x /opt/fail2ban-generate-blocklist.sh
|
||||||
|
|
||||||
##Test the filter
|
##Test the filter
|
||||||
#sudo fail2ban-client status wordpress-hard
|
#sudo fail2ban-client status wordpress-hard
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user