Bantime fail2ban

Discussion in 'General' started by ikrudolf, Dec 6, 2011.

  1. ikrudolf

    ikrudolf Member

    Hi there,
    Where to change bantimes for fail2ban?
  2. cbj4074

    cbj4074 Member

    Create the file /etc/fail2ban/jail.local (the path may vary depending on the OS) and paste-in the following contents (which will override the defaults specified in /etc/fail2ban/jail.conf):

    bantime = 3600
    Any of the configuration directives may be overridden in this file.

    Try consulting the fail2ban documentation next time ;). All of this is spelled-out very clearly.

Share This Page