Basic Security with Asterisk/Freeswitch

This post is not exhaustive. These are the minimum security measures.

  1. Block all access to port 5060 and 5080
    1. /sbin/iptables -A INPUT -p udp –destination-port 5080 -j DROP
    2. /sbin/iptables -A INPUT -p udp –destination-port 5080 -j DROP
  2. Allow only specific IPs to connect
    1. /sbin/iptables -I INPUT -p udp -s {IP} –destination-port 5060 -j ACCEPT
    2. /sbin/iptables -I INPUT -p udp -s {IP} –destination-port 5080 -j ACCEPT

2 thoughts on “Basic Security with Asterisk/Freeswitch

  1. Hi there! I simply would like to give a huge thumbs up for the great data you’ve gotten here on this post. I can be coming back to your blog for more soon.

  2. I believe that is one of the such a lot vital info for me. And i am glad reading your article. But want to commentary on some general things, The site taste is wonderful, the articles is truly nice : D. Excellent job, cheers

Leave a Reply

Your email address will not be published. Required fields are marked *