Fail2ban on asterisk 16.6.1

im using asterisk 16.6.1 on ubuntu 20.04.2
im looking for the right configuration of fail2ban and iptables , im trying from many sources but still not working
im looking for source used and functioning correctly
(note: i use chan_sip not chan_pjsip)

Did you change defaut sip port already or not ?

no i Don’t change any port !

As a good security practice change sip port of your asterisk. You basically get 99% of attacks off your server.

For the other 1% I believe fail2ban can protect you.

im just looking for fail2ban configuration only for my graduation project

I personally don’t use fail2ban, but I would suggest

1/ stop living in the past and move to pjsip2/

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.