Asterisk PBX behind NAT

Date March 17, 2008

I had a lot of problems with an Asterisk BPX behind NAT. Asterisk dropped all incoming calls after 20 seconds because of an unanswered packet. This is a well known problem when NATing Asterisk, but even Google does not provide any solution. This single problem drove me nuts last friday when I tried all possible settings on the firewall but nothing worked. And I was pretty sure this worked on the old firewall (but had no evidence since we did not protocol anything and I did not stop the time then, arrrg).

Today I mapped the whole Asterisk onto a single external IP and incoming calls worked well. After refining some firewall rules I have a working and secure environment now.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>