title: fail2ban - how to ban ip permanently after it was baned 3 times temporarily
body: <p>Have set up fail2ban service on CentOS 8 by this tutorial: <a href="https://www.cyberciti.biz/faq/how-to-protect-ssh-with-fail2ban-on-centos-8/" rel="nofollow noreferrer">https://www.cyberciti.biz/faq/how-to-protect-ssh-with-fail2ban-on-centos-8/</a>.</p>
  <p>I have set up settings similiarly according to tutorial above like this:</p>
  <pre><code>[DEFAULT]
  # Ban IP/hosts for 24 hour ( 24h*3600s = 86400s):
  bantime = 86400
   
  # An ip address/host is banned if it has generated &quot;maxretry&quot; during the last &quot;findtime&quot; seconds.
  findtime = 1200
  maxretry = 3
   
  # &quot;ignoreip&quot; can be a list of IP addresses, CIDR masks or DNS hosts. Fail2ban
  # will not ban a host which matches an address in this list. Several addresses
  # can be defined using space (and/or comma) separator. For example, add your 
  # static IP address that you always use for login such as 103.1.2.3
  #ignoreip = 127.0.0.1/8 ::1 103.1.2.3
   
  # Call iptables to ban IP address
  banaction = iptables-multiport
   
  # Enable sshd protection
  [sshd]
  enabled = true
  </code></pre>
  <p>I would like an ip to be baned permanently after it was baned 3 times temporarily. How to do that?</p>