I started off my FreePBX installation with the below risky settings:
Server placed under DMZ
All ports (5060, 9080, 10000-20000) forwarded to the server
All devices NAT=Yes
Now that everything was working, I wanted to make my system safer. The first thing I did was took the server out of the DMZ. Suddenly, my external devices were no longer able to place or receive calls (they registered fine).
Now even if I re-enable DMZ, I am still not able to get everything working.
Could someone please help? "(
Below are what I believe to be the relevant logs:
[2013-05-02 13:12:26] WARNING[5046] chan_sip.c: Retransmission timeout reached on transmission 08edfcca-2dff-1231-44a4-a9070526b861 for seqno 43424903 (Critical Response) – See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 9921ms with no response
Yes, I believe so. I can say that with confidence because all was working fine until I temporarily disabled DMZ. Now, even with the DMZ re-enabled, things are not working…
I use a Netgear router between a modem and my server. In its WAN settings, it gives you the option of placing one machine on your network outside the firewall, directly exposed to the internet. I did that to my FreePBX server machine.
Thanks for your comments. I do have configured FreePBX with the external and internal IP address. I also believe I forwarded the correct ports to the server (5060, 9080, 10000-20000). Yet, unless I place the server in DMZ, my external devices are not able to register to it!
I have a pseudo static Public IP address, meaning it stays constant for several months at a time.