Thanks for the reply!
Fail2Ban is running:
root@sip:/etc/fail2ban# fail2ban-client start
ERROR Server already running
I added everything in /etc/fail2ban/jail.conf
[ssh]
enabled = true
port = 22
filter = sshd
logpath = /var/log/auth.log
maxretry = 6
[freeswitch]
enabled = true
port = 5060,5061,5080,5081
filter = freeswitch
logpath = /var/log/freeswitch/freeswitch.log
maxretry = 10
root@sip:/etc/fail2ban/filter.d# iptables -S
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
-N fail2ban-ssh
-A INPUT -p tcp -m multiport --dports 22 -j fail2ban-ssh
As you can see when running iptables -S it shoes the "fail2ban-ssh" rule but nothing about FreeSwitch.
Any help is appreciated.