I’m running (vanilla) Asterisk 10.7.0 on Debian 6.0.7
I have a line from localphone.com/ for incoming calls
Trying to set up fail2ban according site sourceforge.net/p/raspbx/discuss … /6288a838/
On this website is a description how to configure fail2ban.
There is a text (somewhere at the end)
[ul]Please be aware that this configuration only works if you have allowguest=no in your sip.conf file, and a good practice is to also add alwaysauthreject=yes.[/ul]
But with allowguest=no I can’t receive calls anymore from localphone.com
I have put in /etc/fail2ban/jail.conf
“ignoreip” can be an IP address, a CIDR mask or a DNS host
ignoreip = 127.0.0.1 localphone.com <------- !!!
bantime = 600
maxretry = 3[/ul]
hoping localphone.com should be ignored by fail2ban.
But that is not the case. I still can’t receive calls.
What is my problem?