How to black list IP Addresses

I am getting random calls from phantom extensions. my firewall is enabled on PBX and also on my router\modem. Looking at my modem and running some tools I found the IP address. Looks like I am being probed. How do I block\ban and Ip address

Go to Firewall > Services > Blacklist > Add IP there
https://wiki.freepbx.org/display/FPG/Firewall+Blacklist

I was able to add the IP address and it works. I heard of a scrip you can run to block multiple IP addreses fail2an something like that. Do you have any info on this

https://wiki.freepbx.org/display/FPG/Firewall+Command+Line

fwconsole firewall add blacklist example.com 192.168.15.0/24
1 Like