jos50
(Gerald)
January 27, 2020, 2:16am
1
Hi,
I mount a FreePBX 15 Distro Sangoma Linux release 7.5.1805
The PBX is sending Email
[Fail2Ban] SIP: banned 192.168.x.xxx on localhost
To [email protected]
Hi,
The IP 192.168.x.xxx has just been banned by Fail2Ban after
7 attempts against SIP on localhost.
Regards,
Fail2Ban
First question is where do I set the To:
in the System Admin Notification setting it is set to a valid email not to the [email protected]
Second question is where do I set the rang of IP that I want to let pass thru
Thanks
lgaetz
(Lorne Gaetz)
January 27, 2020, 2:26am
2
jos50
(Gerald)
January 27, 2020, 2:35am
3
The email was set in the E-mail:
It is my valide email
in the Whitelist it was set to
127.0.0.1
192.168.0.0/16
PitzKey
(Itzik)
January 27, 2020, 7:43am
4
Did you restart Intrusion Detection once you added these addresses?
Also, IIRC fail2ban does not always like a /16, try entering a /24 network and see if it still blocks it.
jos50
(Gerald)
January 27, 2020, 2:02pm
5
I did the changes
127.0.0.1/24
192.168.0.0/24
192.168.10.0/24
Submit
Restart
Eaiting to see
moussa854
(Moussa)
January 27, 2020, 5:31pm
6
I once had fail2ban blocking my SIP traffic due to wrong password. Try first to find the reason the local IP is blocked. I once told not to whitelist local IP as it help detect abnormal activities.
I presume you refer to mine:
Last week I got several commercial support tickets where the customer was reporting excessive calls to high tariff destinations for toll fraud. The calls were mostly to the 605 area code, somewhere in the Dakotas, a destination we’ve been seeing of late since most admins are savvy enough to block international calls. I personally touched 3 separate systems behind 3 separate routers on 3 separate sites for 2 customers.
In all three cases, the PBX was behind a F…
jos50
(Gerald)
January 31, 2020, 1:32am
7
Notification setting it is set to a valid email not to the [email protected]
so it is wrong user and wrong password that is being use.
system
(system)
Closed
March 2, 2020, 1:32am
8
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.