Support » Plugin: WP fail2ban » Possible Jail Config

  • # WordPress Login Ban
    # Using WP Fail2Ban
    enabled = true
    filter = wordpress
    action =iptables-multiport[name=wordpress, port=”http,https”]
    logpath = /var/log/auth.log
    maxretry = 5
    bantime = -1
    findtime = 86400

    This is setup to give the ability to scan the log files and anyone that fails the WordPress login more than 5 times in a 24 hour period to have their IP address banned indefinitely.

Viewing 1 replies (of 1 total)
  • Sorry I had my logpath setup wrong. So this will work if you have the correct logpath set to
    logpath = /var/log/messages

Viewing 1 replies (of 1 total)
  • The topic ‘Possible Jail Config’ is closed to new replies.