Hi.
I have an interesting problem which I’m hoping someone else has seen and fixed.
I have FreePBX 14.0.13.4 installed and want to modify the Fail2Ban settings so that the bantime is one year and findtime is one day.
I’ve added to common.conf:
“bantime” is the number of seconds that a host is banned.
#bantime = 600
bantime = 31536000
A host is banned if it has generated “maxretry” during the last “findtime”
seconds.
#findtime = 600
findtime = 86400
but it doesn’t seem to be overriding the settings in jail.local, which advise against modifying as the file is overwritten by sysadmin
I’m assuming there is a setting in FreePBX that will override that settings in jail.local.
Can somebody point me at this please.