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


version  13

yum --disablerepo="*" --enablerepo="sng-pkgs" install fail2ban


systemctl start fail2ban

disable freepbx firewall   restart ipables and enabled   asterisk security logs


-------------------------------
version 12
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