Asterisk Manager User with domain name?

Hello everyone,

I was wondering if there is a way to allow the use of an Asterisk Manager User from a domain with dynamic ip, example:

Deny: 0.0.0.0/0.0.0.0
Allow: my.domain.com

I tried with resolving the domain name but it’s an app with a set of IPs and putting the generic one ending with .0 didn’t work.

Any help will be appreciated a lot

Your IP will always be within the "BGP Prefix’ that is returned by

whois -h whois.cymru.com '-v external.ip.address '

Does this mean I have to put the BGP Prefix address along with the metric in FreePBX settings?

What metric? Say the external IP of my client was 23.240.33.34, then

whois -h whois.cymru.com '-v 23.240.33.34 '

Allow: Warning: RIPE flags used with a traditional server.
AS      | IP               | BGP Prefix          | CC | Registry | Allocated  | AS Name
20001   | 23.240.33.34     | 23.240.0.0/14       | US | arin     | 2013-09-20 | TWC-20001-PACWEST, US

Then for that part of Time-Warner I would use


Deny: 0.0.0.0/0 # the world
Allow: 23.240.0.0/14 # a much smaller bit of TW, but less than all of TW
Allow: n.n.n.n/29 #  my own fixed IP subnet
1 Like

Thank you, now I just need to understand how to apply this in my Asterisk Manager User Configuration in manager_custom.conf

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.