Asterisk Firewall Whitelisting using Firewalld and Iptables

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.

 

Venkatesh

Hi Guys, I am Venkatesh. I am a programmer and an Open Source enthusiast. I write about programming and technology on this blog.

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