Connection issue with updated FreePBX firewall settings

We've modified the FreePBX firewall settings on most of the systems we support to accommodate the change in LetsEncrypt updating; port 80 is only allowed to the LetsEncrypt folder.
The FOP2 admin panel will open, but the end-user GUI will not. It gets stuck with this in the lower right corner:
"Could not connect to port 4445 using flash xmlsockets protocol"
We've added a custom service for port 4445 TCP in the FreePBX firewall and allowed from local (all FOP2 users are local). That didn't resolve. We then added 443. Same result. Allowed from Internet and Other zones. Same result.

Comments

  • This command also did not resolve the problem:
    sudo iptables -I INPUT -p tcp -m tcp --dport 4445 -j ACCEPT

  • Bump. Still no fix here...

  • Fixed. If you are using the certificate module in FreePBX you need to edit /user/local/fop2/fop2.cfg
    Find the two lines that start with ssl_certificate and change the certificate and key path to:
    /etc/asterisk/keys/your.domain.com.crt
    /etc/asterisk/keys/your.domain.com.key
    Where "your.domain.com" matches the host you have configured for LetEncrypt in Certificate Management.
    Then restart FOP2 (service fop2 restart) and the panel should load.

  • The same problem here but I have followed every step that you posted but no fix

Sign In or Register to comment.