I just copied jail.conf to jail.local
Inside of jail.local I have this
Code: Select all
# Default banning action (e.g. iptables, iptables-new,
# iptables-multiport, shorewall, etc) It is used to define
# action_* variables. Can be overridden globally or per
# section within jail.local file
banaction = iptables-multiport
banaction_allports = iptables-allports
Then I have this file
Code: Select all
[root@nsxxx688 jail.d]# cat 00-firewalld.conf
# This file is part of the fail2ban-firewalld package to configure the use of
# the firewalld actions as the default actions. You can remove this package
# (along with the empty fail2ban meta-package) if you do not use firewalld
[DEFAULT]
banaction = firewallcmd-rich-rules[actiontype=<multiport>]
banaction_allports = firewallcmd-rich-rules[actiontype=<allports>]
[root@nsxxx688 jail.d]#
Should I reference 00-firewalld.conf in some way inside of jail.local?
Thanks