ash_mcse at January 18th, 2011 09:28 — #1
I am wondering if its possible to access SIP accounts from specific IP address only. All I want to do is that I want to configure an extension, so that it would be accessible from only two specifics IP addresses.
Please let me know the way to do it.
jingjong at March 31st, 2011 13:42 — #2
That really works great. Thank you very much for the info.
But is it possible that I will allow/permit multiple IPs.
like for example
I tried the following but it doesn't work:
permit: 18.104.22.168/255.255.255.255 - 22.214.171.124/255.255.255.255
permit: 126.96.36.199/255.255.255.255 / 188.8.131.52/255.255.255.255
permit: 184.108.40.206/255.255.255.255, 220.127.116.11/255.255.255.255
p_lindheimer at March 31st, 2011 15:53 — #3
assuming that Asterisk allows multiple permit lines (I think but am not sure) then you can separate the entries with "&" and you'll get multiple permit= lines for each IP/Mask you want to set.
billsimon at January 18th, 2011 11:28 — #4
This is what the deny and permit lines are for in your SIP extension config. Specify your IPs in the permit and leave the deny at 0.0.0.0 to deny everything else.
system at June 4th, 2014 15:09 — #5
This topic is now closed. New replies are no longer allowed.