Asterisk Firewall Whitelisting using Firewalld and Iptables

Spread the love

Asterisk firewall settings

Run the following commands to whitelist the Asterisk server traffic on your Firewall

Asterisk server is listening on,

Port 5060 UDP/TCP  –  For SIP traffic from UDP and TCP endpoints

Port 5061 TCP  –  For SIP traffic from TLS endpoints

Port 4569 UDP –  For IAX2 traffic from IAX2 supported endpoints

Port 5038 TCP  –  For Asterisk Manager ( AMI ) connections

Port 10000-20000 UDP –  For RTP of Voice and video calls.



Hi Guys, I am Venkatesh Macha. I am a programmer and an Open Source enthusiast, Presently working as a Software Engineer. Apart from that, I love to explore new technologies and things.

You may also like...

2 Responses

  1. Julius says:

    Where is the IPTables directions?

  2. dextreart says:

    thank you for your help

Leave a Reply