FreePBX 15 behind NAT: HowTo setup dynamic external IP config?

You don’t need the cron job (and shell script, I assume) to modify /etc/hosts. While chan_sip “always” supported a FQDN in FPBX External Address, chan_pjsip just got this capability relatively recently (some time in 2018).

See this blog post:

https://blogs.asterisk.org/2018/01/10/pjsip-dns-manager-dnsmgr-full-dynamic-hostname-support-coming-soon/

and this Community thread:

I set up FPBX 14 with a FQDN in External Address in 11/2018 – works fine.

(This assumes that you have dynamic DNS for the FQDN. Many routers can provide dynamic DNS updates.)

1 Like