Allow configurable fail2ban IPs
This commit is contained in:
parent
ce3554b530
commit
70ba4b240f
|
@ -1,2 +1,4 @@
|
||||||
---
|
---
|
||||||
deploy_username: "deploy"
|
deploy_username: "deploy"
|
||||||
|
fail2ban_ignorelist:
|
||||||
|
- 10.0.0.0/8
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
maxretry = 3
|
maxretry = 3
|
||||||
bantime = 14400
|
bantime = 14400
|
||||||
ignoreip = 127.0.0.0/8 10.0.0.0/8 198.55.48.48/28
|
ignoreip = 127.0.0.0/8 {% for ignore in fail2ban_ignorelist %}{{ ignore }} {% endfor %}
|
||||||
|
|
||||||
[ssh]
|
[ssh]
|
||||||
enabled = true
|
enabled = true
|
||||||
|
|
Loading…
Reference in New Issue