Soporte & Consultoria

Soporte Remoto y Consultoria skype : ambiorixg12.
Nota no se brinda ningun tipo de consulta o soporte fuera del blog de forma gratuita

miércoles, 18 de enero de 2017

fixing freepbx fail2ban

yum remove fail2ban

yum --disablerepo="*" --enablerepo="schmooze-commercial" install fail2ban




nano /etc/fail2ban/jail.local


[asterisk-udp]

enabled  = true
filter   = asterisk
port     = 5060,5061
protocol = udp
#logpath  = /var/log/asterisk/full
logpath  = /var/log/asterisk/fail2ban2
action   = iptables-allports[name=recidive, protocol=all]








nano /etc/asterisk/logger_logfiles_custom.conf


fail2ban2 => security,notice,warning,error


core reload

service fail2ban restart



No hay comentarios:

Publicar un comentario