Prototype a role for installing fail2ban on RHEL 9+
This commit is contained in:
13
roles/fail2ban_rhel/defaults/main.yml
Normal file
13
roles/fail2ban_rhel/defaults/main.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
fail2ban_rhel_jail_sshd:
|
||||
enabled: true
|
||||
port: ssh
|
||||
findtime: 600
|
||||
maxretry: 5
|
||||
bantime: 3600
|
||||
logpath: "%(sshd_log)s"
|
||||
backend: "%(sshd_backend)s"
|
||||
banaction: firewallcmd-multiport
|
||||
ignoreips:
|
||||
- 127.0.0.1/8
|
||||
- ::1
|
||||
Reference in New Issue
Block a user