Quantcast
Channel: FreePBX Community Forums - Latest posts
Viewing all articles
Browse latest Browse all 225770

Custom fail2ban jail on freepbx distro

$
0
0

Hi,

The Freepbx distro uses the *.local of the fail2ban. It means that first the fail2ban reads the regular *.conf files and then the local version of them. So, if you want to add your own version to the fail2ban, add it to the jail.conf file but make sure that it is not similar to the jail.local file to avoid overwritten of the jail's configuration.

You can add your own fop2.conf filter to the the fail2ban's filter directory and add it to your jail configuration.

To check that you have added your jail to the fail2ban, you can type in the linux console iptables -nL and to see all of the fail2ban jails you can type fail2ban-client status.

Thank you,

Daniel Friedman
Trixton LTD.


Viewing all articles
Browse latest Browse all 225770

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>