freepbx 13 distro:
# iptables -L -n gives this:
Chain fail2ban-SIP (2 references)
num target prot opt source destination
1 REJECT all -- 172.16.1.204 anywhere reject-with icmp-port-unreachable
2 RETURN all -- anywhere anywhere
3 RETURN all -- anywhere anywhere
I want to unban this ip but when I run:
# fail2ban-client set SIP unbanip 172.16.1.204
’Sorry but the jail ‘SIP’ does not exist’.
thanks for any help.
maybe your jail is asterisk, so you might try: fail2ban-client set asterisk banip X.X.X.X
If you are running the Distro in the GUI, go to System Admin>Intrusion Detection > Whitelist and add the IP there.
yes thanks james it was asterisk-iptables
thanks for your response preston but I’m running freepbx-13 and I can’t find intrusion detection anywhere. It’s not under system admin.