Skip to content
Snippets Groups Projects
Commit 6eddb79d authored by Chris Croome's avatar Chris Croome
Browse files

fail2ban_bantime variable added with a default on 1 day

parent 6d2dc355
No related branches found
No related tags found
No related merge requests found
Pipeline #8124 passed
---
# Default time to ban IP addresses for
fail2ban_bantime: 86400
# Array of IP addresses and / or subnets
fail2ban_whitelist:
- "127.0.0.1"
......
......@@ -5,7 +5,7 @@
ignoreip = {% for ip in fail2ban_whitelist %}{{ ip }}{% if not loop.last %} {% endif %}{% endfor %}
{% endif %}
bantime = 86400
bantime = {{ fail2ban_bantime | default("86400") }}
banaction = iptables-multiport
logpath = /var/log/auth.log
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment