Difference between revisions of "Call is not going through and not shown in Last Calls"
From Kolmisoft Wiki
Jump to navigationJump to search
Line 11: | Line 11: | ||
If you are not getting such line, IP is not blocked by iptables on your server. | If you are not getting such line, IP is not blocked by iptables on your server. | ||
'''To unblock IP:''' | '''To unblock IP:''' |
Revision as of 09:29, 13 July 2015
- Make sure that configuration is correct on Caller side and it is really sending call to right IP (your server IP).
- Make sure that iptables are not blocking Caller IP on server side. Command to do that:
# iptables -L -n | grep DROP | grep 11.22.33.44
Where 11.22.33.44 is Caller's Public IP address.
If IP is blocked by iptables in your server output, will look like this:
DROP all -- 11.22.33.44 0.0.0.0/0
If you are not getting such line, IP is not blocked by iptables on your server.
To unblock IP:
iptables -nL --line-numbers | grep 11.22.33.44
output will be like:
4 DROP all -- 11.22.33.44 0.0.0.0/0
notice that first number and then place in following command to delete rule which block IP:
iptables -D INPUT 4
After this command IP will be unblocked.
To add IP to whitelist so it would not be blocked again by fail2ban:
Open file /etc/fail2ban/jail.conf with you favorite text editor.
Find the line which starts with
ignoreip = 127.0.0.1
add IP which was blocked to end of this line so it would look like that:
ignoreip = 127.0.0.1 11.22.33.44
restart fail2ban service to apply changes:
service fail2ban restart