Skip to content
Snippets Groups Projects

fail2ban: Use a managed firewalld ipset

All threads resolved!
Files
2
@@ -31,14 +31,13 @@
with_items:
- "fail2ban.local"
- "jail.local"
- "firewallcmd-ipset-allports.conf"
notify:
- Restart fail2ban
- name: Install firewallcmd-allports.local
template:
src: "firewallcmd-allports.local.j2"
dest: "/etc/fail2ban/action.d/firewallcmd-allports.local"
src: "firewallcmd-ipset-allports.conf.j2"
dest: "/etc/fail2ban/action.d/firewallcmd-ipset-allports.conf"
owner: "root"
group: "root"
mode: '0644'
Loading