Add [asterisk-iptables] in jail.conf?

add this:

# if more than 4 attempts are made within 6 hours, ban for 24 hours
enabled  = true
filter   = asterisk
action   = iptables-allports[name=ASTERISK, protocol=all]
              sendmail[name=ASTERISK,, sender=fail2ban@local.local]
logpath  = /var/log/asterisk/messages
maxretry = 4
findtime = 21600
bantime = 86400

to the end of of jail.conf? per:

I saw a [general] tab so modified that as directed, but didn’t see [asterisk-iptables] … so added that section.

Asterisk 13.1.0~dfsg-1.1ubuntu4

You need to stop reading “pre-cooked” material on blogs and vendors sites and start to reading the manual and wikis for the applications that you are using. Asterisk in this case, then you will understand that Fail2Ban has nothing to do with asterisk and you will ask in their forums not in the asterisk one and also understand a lot of basic stuff that you already asked in the forum…

ok, will do. was there a specific source? the wiki?