I am using asterisk-java to connect to my FreePBX server (15.0.17.24), when I connect over the public IP address, everything works perfectly, but when I am connecting over the internal IP address, I am getting this error.
15 [2021-03-25 15:34:48] NOTICE[30671] manager.c: 172.31.13.161 failed to pass IP ACL as 'myconnection'
16 [2021-03-25 15:34:48] NOTICE[30671] manager.c: 172.31.13.161 failed to authenticate as 'myconnection'
I have the AMI user set up with the following config, set up via the Settings -> Asterisk Manager Users
[myconnection]
secret =
deny=255.255.255.255/255.255.255.255
permit=0.0.0.0/0.0.0.0
read = system,call,log,verbose,command,agent,user,config,dtmf,reporting,cdr,dialplan,originate
write = system,call,log,verbose,command,agent,user,config,dtmf,reporting,cdr,dialplan,originate
writetimeout = 100
Is there an ACL somewhere else that I need to configure so that I can use the AMI? Any help would be appreciated.
Thanks!
EDIT: The secret is not blank in the actual config. But I have it blank here because I know not to post information like that online.