Fail2ban custom jails and filters

NethServer Version: 7.8.2003
Module: fail2ban

Hello everybody,

I’m in the process of installing WordPress on my Nethserver (using the standard WordPress version, not the Nethserver prepackaged module), and I want to protect it with fail2ban. Can I manually add my custom jails and filters in /etc/fail2ban/jail.d and /etc/fail2ban/filter.d or these directories are overwritten by the Nethserver configuration scripts?

Thank you in advance

It should be possible to add the files. Directories are not overwritten, only templated files. So if they don’t exist, they are not templated.
It could be a problem if you add the Neth wordpress module later.