Cannot access maria db remotely after lets encrypt - corrupt firewall rules

I had setup remote access to mariadb yesterday. After struggling to get lets encrypt working yesterday I am no longer able to connect to the mariadb remotely. Under System Admin > Hostname I changed the hostname from the randomly generate one to mydomain.com, this is the only way lets encrypt would work. After that I added a rule to .htaccess to force HTTPs always being run.

If I run fwconsole firewall stop I am able to connect to the maria DB remotely again which makes me believe the issue is with the pbxact firewall but am unsure what additional configuration it might need.

In etc/my.cnf I have the following -

skip-networking=0
skip-bind-address

Make sure maria db is listening public -

netstat -nat |grep :3306
tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN

Make sure tcp port 3306 is open -

firewall-cmd --zone=public --list-all
public
  target: default
  icmp-block-inversion: no
  interfaces:
  sources:
  services: ssh dhcpv6-client
  ports: 3306/tcp
  protocols:
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:

I have also tried the following iptables command with no luck -
iptables -A INPUT -i eth0 -p tcp --destination-port 3306 -j ACCEPT

When I restart the firewall I get -

Firewall Rules corrupted! Restarting in 5 seconds
More information available in /tmp/firewall.log

Here is the log with IPs redacted -

No fpbx-rtp in ipv6
1568996566: Wall: 'Firewall Rules corrupted! Restarting in 5 seconds
More information available in /tmp/firewall.log
' returned 0
1568996578: Monitoring parent (voipfirewalld) died. Shutting down!
Starting firewall.
1568996579: Wall: 'Firewall service now starting.

' returned 0
1568996580: /sbin/iptables -w5 -W10000 -N fpbxfirewall
1568996580: /sbin/ip6tables -w5 -W10000 -N fpbxfirewall
1568996580: /sbin/iptables -w5 -W10000 -I INPUT -j fpbxfirewall
1568996580: /sbin/ip6tables -w5 -W10000 -I INPUT -j fpbxfirewall
1568996580: /sbin/ip6tables -w5 -W10000 -A fpbxfirewall -i lo -j ACCEPT
1568996580: /sbin/iptables -w5 -W10000 -A fpbxfirewall -i lo -j ACCEPT
1568996580: /sbin/ip6tables -w5 -W10000 -A fpbxfirewall -p tcp -m state --state RELATED,ESTABLISHED -j ACCEPT
1568996580: /sbin/iptables -w5 -W10000 -A fpbxfirewall -p tcp -m state --state RELATED,ESTABLISHED -j ACCEPT
1568996580: /sbin/iptables -w5 -W10000 -A fpbxfirewall -p icmp -j ACCEPT
1568996580: /sbin/ip6tables -w5 -W10000 -A fpbxfirewall -p ipv6-icmp -j ACCEPT
1568996581: /sbin/iptables -w5 -W10000 -A fpbxfirewall -d 255.255.255.255/32 -j ACCEPT
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxfirewall -m pkttype --pkt-type multicast -j ACCEPT
1568996581: /sbin/iptables -w5 -W10000 -A fpbxfirewall -m pkttype --pkt-type multicast -j ACCEPT
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxfirewall -p udp -m udp --dport 67:68 --sport 67:68 -j ACCEPT
1568996581: /sbin/iptables -w5 -W10000 -A fpbxfirewall -p udp -m udp --dport 67:68 --sport 67:68 -j ACCEPT
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxfirewall -p udp -m udp -s fe80::/64 --dport 546:547 --sport 546:547 -j ACCEPT
1568996581: /sbin/iptables -w5 -W10000 -N fpbx-rtp
1568996581: /sbin/ip6tables -w5 -W10000 -N fpbx-rtp
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxfirewall -j fpbx-rtp
1568996581: /sbin/iptables -w5 -W10000 -A fpbxfirewall -j fpbx-rtp
1568996581: /sbin/iptables -w5 -W10000 -N fpbxblacklist
1568996581: /sbin/ip6tables -w5 -W10000 -N fpbxblacklist
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxfirewall -j fpbxblacklist
1568996581: /sbin/iptables -w5 -W10000 -A fpbxfirewall -j fpbxblacklist
1568996581: /sbin/iptables -w5 -W10000 -N fpbxsignalling
1568996581: /sbin/ip6tables -w5 -W10000 -N fpbxsignalling
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxfirewall -j fpbxsignalling
1568996581: /sbin/iptables -w5 -W10000 -A fpbxfirewall -j fpbxsignalling
1568996581: /sbin/iptables -w5 -W10000 -N fpbxsmarthosts
1568996581: /sbin/ip6tables -w5 -W10000 -N fpbxsmarthosts
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxfirewall -j fpbxsmarthosts
1568996581: /sbin/iptables -w5 -W10000 -A fpbxfirewall -j fpbxsmarthosts
1568996581: /sbin/iptables -w5 -W10000 -N fpbxregistrations
1568996581: /sbin/ip6tables -w5 -W10000 -N fpbxregistrations
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxfirewall -j fpbxregistrations
1568996581: /sbin/iptables -w5 -W10000 -A fpbxfirewall -j fpbxregistrations
1568996581: /sbin/iptables -w5 -W10000 -N fpbxnets
1568996581: /sbin/ip6tables -w5 -W10000 -N fpbxnets
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxfirewall -j fpbxnets
1568996581: /sbin/iptables -w5 -W10000 -A fpbxfirewall -j fpbxnets
1568996581: /sbin/iptables -w5 -W10000 -N fpbxhosts
1568996581: /sbin/ip6tables -w5 -W10000 -N fpbxhosts
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxfirewall -j fpbxhosts
1568996581: /sbin/iptables -w5 -W10000 -A fpbxfirewall -j fpbxhosts
1568996581: /sbin/iptables -w5 -W10000 -N fpbxinterfaces
1568996581: /sbin/ip6tables -w5 -W10000 -N fpbxinterfaces
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxfirewall -j fpbxinterfaces
1568996581: /sbin/iptables -w5 -W10000 -A fpbxfirewall -j fpbxinterfaces
1568996581: /sbin/iptables -w5 -W10000 -N fpbxreject
1568996581: /sbin/ip6tables -w5 -W10000 -N fpbxreject
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxfirewall -j fpbxreject
1568996581: /sbin/iptables -w5 -W10000 -A fpbxfirewall -j fpbxreject
1568996581: /sbin/iptables -w5 -W10000 -N fpbxrfw
1568996581: /sbin/ip6tables -w5 -W10000 -N fpbxrfw
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxfirewall -m mark --mark 0x2/0x2 -j fpbxrfw
1568996581: /sbin/iptables -w5 -W10000 -A fpbxfirewall -m mark --mark 0x2/0x2 -j fpbxrfw
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxfirewall -p udp -m state --state RELATED,ESTABLISHED -j ACCEPT
1568996581: /sbin/iptables -w5 -W10000 -A fpbxfirewall -p udp -m state --state RELATED,ESTABLISHED -j ACCEPT
1568996581: /sbin/iptables -w5 -W10000 -N fpbxlogdrop
1568996581: /sbin/ip6tables -w5 -W10000 -N fpbxlogdrop
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxfirewall -j fpbxlogdrop
1568996581: /sbin/iptables -w5 -W10000 -A fpbxfirewall -j fpbxlogdrop
1568996581: /sbin/iptables -w5 -W10000 -N zone-trusted
1568996581: /sbin/ip6tables -w5 -W10000 -N zone-trusted
1568996581: /sbin/ip6tables -w5 -W10000 -A zone-trusted -j ACCEPT
1568996581: /sbin/iptables -w5 -W10000 -A zone-trusted -j ACCEPT
1568996581: /sbin/iptables -w5 -W10000 -N zone-internal
1568996581: /sbin/ip6tables -w5 -W10000 -N zone-internal
1568996581: /sbin/ip6tables -w5 -W10000 -A zone-internal -m mark --mark 0x4/0x4 
1568996581: /sbin/iptables -w5 -W10000 -A zone-internal -m mark --mark 0x4/0x4 
1568996581: /sbin/iptables -w5 -W10000 -N zone-other
1568996581: /sbin/ip6tables -w5 -W10000 -N zone-other
1568996581: /sbin/ip6tables -w5 -W10000 -A zone-other -m mark --mark 0x8/0x8 
1568996581: /sbin/iptables -w5 -W10000 -A zone-other -m mark --mark 0x8/0x8 
1568996581: /sbin/iptables -w5 -W10000 -N zone-external
1568996581: /sbin/ip6tables -w5 -W10000 -N zone-external
1568996581: /sbin/ip6tables -w5 -W10000 -A zone-external -m mark --mark 0x10/0x10 
1568996581: /sbin/iptables -w5 -W10000 -A zone-external -m mark --mark 0x10/0x10 
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxrfw -m recent --rcheck --seconds 90 --hitcount 1 --name WHITELIST --rsource -j ACCEPT
1568996581: /sbin/iptables -w5 -W10000 -A fpbxrfw -m recent --rcheck --seconds 90 --hitcount 1 --name WHITELIST --rsource -j ACCEPT
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxrfw -m recent --set --name REPEAT --rsource 
1568996581: /sbin/iptables -w5 -W10000 -A fpbxrfw -m recent --set --name REPEAT --rsource 
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxrfw -m recent --set --name DISCOVERED --rsource 
1568996581: /sbin/iptables -w5 -W10000 -A fpbxrfw -m recent --set --name DISCOVERED --rsource 
1568996581: /sbin/iptables -w5 -W10000 -N fpbxattacker
1568996581: /sbin/ip6tables -w5 -W10000 -N fpbxattacker
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxrfw -m recent --rcheck --seconds 10 --hitcount 50 --name REPEAT --rsource -j fpbxattacker
1568996581: /sbin/iptables -w5 -W10000 -A fpbxrfw -m recent --rcheck --seconds 10 --hitcount 50 --name REPEAT --rsource -j fpbxattacker
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxrfw -m recent --rcheck --seconds 86400 --hitcount 1 --name ATTACKER --rsource -j fpbxattacker
1568996581: /sbin/iptables -w5 -W10000 -A fpbxrfw -m recent --rcheck --seconds 86400 --hitcount 1 --name ATTACKER --rsource -j fpbxattacker
1568996581: /sbin/iptables -w5 -W10000 -N fpbxshortblock
1568996581: /sbin/ip6tables -w5 -W10000 -N fpbxshortblock
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxrfw -m recent --rcheck --seconds 60 --hitcount 10 --name SIGNALLING --rsource -j fpbxshortblock
1568996581: /sbin/iptables -w5 -W10000 -A fpbxrfw -m recent --rcheck --seconds 60 --hitcount 10 --name SIGNALLING --rsource -j fpbxshortblock
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxrfw -m recent --set --name SIGNALLING --rsource 
1568996581: /sbin/iptables -w5 -W10000 -A fpbxrfw -m recent --set --name SIGNALLING --rsource 
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxrfw -m recent --rcheck --seconds 86400 --hitcount 100 --name REPEAT --rsource -j fpbxattacker
1568996581: /sbin/iptables -w5 -W10000 -A fpbxrfw -m recent --rcheck --seconds 86400 --hitcount 100 --name REPEAT --rsource -j fpbxattacker
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxrfw -j ACCEPT
1568996581: /sbin/iptables -w5 -W10000 -A fpbxrfw -j ACCEPT
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxattacker -m recent --set --name ATTACKER --rsource 
1568996581: /sbin/iptables -w5 -W10000 -A fpbxattacker -m recent --set --name ATTACKER --rsource 
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxattacker -j DROP
1568996581: /sbin/iptables -w5 -W10000 -A fpbxattacker -j DROP
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxshortblock -m recent --set --name CLAMPED --rsource 
1568996581: /sbin/iptables -w5 -W10000 -A fpbxshortblock -m recent --set --name CLAMPED --rsource 
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxshortblock -j REJECT
1568996581: /sbin/iptables -w5 -W10000 -A fpbxshortblock -j REJECT
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxlogdrop -j REJECT
1568996581: /sbin/iptables -w5 -W10000 -A fpbxlogdrop -j REJECT
1568996581: /sbin/iptables -w5 -W10000 -N fpbxratelimit
1568996581: /sbin/ip6tables -w5 -W10000 -N fpbxratelimit
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxratelimit -m mark --mark 0x4/0x4 -j ACCEPT
1568996581: /sbin/iptables -w5 -W10000 -A fpbxratelimit -m mark --mark 0x4/0x4 -j ACCEPT
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxratelimit -m recent --rcheck --seconds 90 --hitcount 1 --name WHITELIST --rsource -j ACCEPT
1568996581: /sbin/iptables -w5 -W10000 -A fpbxratelimit -m recent --rcheck --seconds 90 --hitcount 1 --name WHITELIST --rsource -j ACCEPT
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxratelimit -m state --state NEW -m recent --set --name REPEAT --rsource 
1568996581: /sbin/iptables -w5 -W10000 -A fpbxratelimit -m state --state NEW -m recent --set --name REPEAT --rsource 
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxratelimit -m state --state NEW -m recent --set --name DISCOVERED --rsource 
1568996581: /sbin/iptables -w5 -W10000 -A fpbxratelimit -m state --state NEW -m recent --set --name DISCOVERED --rsource 
1568996581: /sbin/ip6tables -w5 -W10000 -A fpbxratelimit -j LOG
1568996582: /sbin/iptables -w5 -W10000 -A fpbxratelimit -j LOG
1568996582: /sbin/ip6tables -w5 -W10000 -A fpbxratelimit -m recent --rcheck --seconds 86400 --hitcount 1 --name ATTACKER --rsource -j fpbxattacker
1568996582: /sbin/iptables -w5 -W10000 -A fpbxratelimit -m recent --rcheck --seconds 86400 --hitcount 1 --name ATTACKER --rsource -j fpbxattacker
1568996582: /sbin/ip6tables -w5 -W10000 -A fpbxratelimit -m recent --rcheck --seconds 86400 --hitcount 100 --name REPEAT --rsource -j fpbxattacker
1568996582: /sbin/iptables -w5 -W10000 -A fpbxratelimit -m recent --rcheck --seconds 86400 --hitcount 100 --name REPEAT --rsource -j fpbxattacker
1568996582: /sbin/ip6tables -w5 -W10000 -A fpbxratelimit -m recent --rcheck --seconds 3600 --hitcount 50 --name REPEAT --rsource -j fpbxattacker
1568996582: /sbin/iptables -w5 -W10000 -A fpbxratelimit -m recent --rcheck --seconds 3600 --hitcount 50 --name REPEAT --rsource -j fpbxattacker
1568996582: /sbin/ip6tables -w5 -W10000 -A fpbxratelimit -m recent --rcheck --seconds 60 --hitcount 10 --name REPEAT --rsource -j fpbxshortblock
1568996582: /sbin/iptables -w5 -W10000 -A fpbxratelimit -m recent --rcheck --seconds 60 --hitcount 10 --name REPEAT --rsource -j fpbxshortblock
1568996582: /sbin/ip6tables -w5 -W10000 -A fpbxratelimit -j ACCEPT
1568996582: /sbin/iptables -w5 -W10000 -A fpbxratelimit -j ACCEPT
1568996582: /sbin/iptables -w5 -W10000 -N fpbxknownreg
1568996582: /sbin/ip6tables -w5 -W10000 -N fpbxknownreg
1568996582: /sbin/ip6tables -w5 -W10000 -A fpbxknownreg -m recent --remove --rsource --name REPEAT 
1568996582: /sbin/iptables -w5 -W10000 -A fpbxknownreg -m recent --remove --rsource --name REPEAT 
1568996582: /sbin/ip6tables -w5 -W10000 -A fpbxknownreg -m recent --remove --rsource --name ATTACKER 
1568996582: /sbin/iptables -w5 -W10000 -A fpbxknownreg -m recent --remove --rsource --name ATTACKER 
1568996582: /sbin/ip6tables -w5 -W10000 -A fpbxknownreg -m mark --mark 0x1/0x1 -j ACCEPT
1568996582: /sbin/iptables -w5 -W10000 -A fpbxknownreg -m mark --mark 0x1/0x1 -j ACCEPT
1568996582: /sbin/iptables -w5 -W10000 -N fpbxsvc-ucp
1568996582: /sbin/ip6tables -w5 -W10000 -N fpbxsvc-ucp
1568996582: /sbin/ip6tables -w5 -W10000 -A fpbxknownreg -j fpbxsvc-ucp
1568996582: /sbin/iptables -w5 -W10000 -A fpbxknownreg -j fpbxsvc-ucp
1568996582: /sbin/iptables -w5 -W10000 -N fpbxsvc-zulu
1568996582: /sbin/ip6tables -w5 -W10000 -N fpbxsvc-zulu
1568996582: /sbin/ip6tables -w5 -W10000 -A fpbxknownreg -j fpbxsvc-zulu
1568996582: /sbin/iptables -w5 -W10000 -A fpbxknownreg -j fpbxsvc-zulu
1568996582: /sbin/iptables -w5 -W10000 -N fpbxsvc-restapps
1568996582: /sbin/ip6tables -w5 -W10000 -N fpbxsvc-restapps
1568996582: /sbin/ip6tables -w5 -W10000 -A fpbxknownreg -j fpbxsvc-restapps
1568996582: /sbin/iptables -w5 -W10000 -A fpbxknownreg -j fpbxsvc-restapps
1568996582: /sbin/iptables -w5 -W10000 -N fpbxsvc-restapps_ssl
1568996582: /sbin/ip6tables -w5 -W10000 -N fpbxsvc-restapps_ssl
1568996582: /sbin/ip6tables -w5 -W10000 -A fpbxknownreg -j fpbxsvc-restapps_ssl
1568996582: /sbin/iptables -w5 -W10000 -A fpbxknownreg -j fpbxsvc-restapps_ssl
1568996582: /sbin/iptables -w5 -W10000 -N fpbxsvc-provis
1568996582: /sbin/ip6tables -w5 -W10000 -N fpbxsvc-provis
1568996582: /sbin/ip6tables -w5 -W10000 -A fpbxknownreg -j fpbxsvc-provis
1568996582: /sbin/iptables -w5 -W10000 -A fpbxknownreg -j fpbxsvc-provis
1568996582: /sbin/iptables -w5 -W10000 -N fpbxsvc-provis_ssl
1568996582: /sbin/ip6tables -w5 -W10000 -N fpbxsvc-provis_ssl
1568996582: /sbin/ip6tables -w5 -W10000 -A fpbxknownreg -j fpbxsvc-provis_ssl
1568996582: /sbin/iptables -w5 -W10000 -A fpbxknownreg -j fpbxsvc-provis_ssl
1568996582: /sbin/iptables -w5 -W10000 -t nat -N masq-input
1568996582: /sbin/iptables -w5 -W10000 -t nat -N masq-output
1568996582: /sbin/iptables -w5 -W10000 -t nat -A POSTROUTING -j masq-input
1568996582: /sbin/iptables -w5 -W10000 -t nat -A masq-input  -j MARK --set-xmark 0x1/0xffffffff
1568996582: /sbin/iptables -w5 -W10000 -t nat -A POSTROUTING -j masq-output
1568996582: /sbin/iptables -w5 -W10000 -t nat -A POSTROUTING -m mark --mark 0x3/0x3 -j MASQUERADE
1568996582: /sbin/iptables -w5 -W10000 -A fpbxnets -s 192.168.10.100/32 -j zone-trusted
1568996582: /sbin/iptables -w5 -W10000 -A fpbxnets -s 192.168.0.0/16 -j zone-trusted
1568996582: /sbin/iptables -w5 -W10000 -I fpbxnets 2 -s */32 -j zone-trusted
1568996582: /sbin/iptables -w5 -W10000 -I fpbxnets 3 -s */32 -j zone-internal
1568996582: /sbin/iptables -w5 -W10000 -I fpbxnets 4 -s */32 -j zone-internal
1568996582: /sbin/iptables -w5 -W10000 -I fpbxnets 5 -s */32 -j zone-internal
1568996582: /sbin/iptables -w5 -W10000 -I fpbxnets 6 -s */32 -j zone-internal
1568996582: /sbin/iptables -w5 -W10000 -I fpbxnets 7 -s */32 -j zone-internal
1568996582: /sbin/iptables -w5 -W10000 -I fpbxnets 8 -s */32 -j zone-internal
1568996582: /sbin/iptables -w5 -W10000 -I fpbxnets 9 -s */32 -j zone-internal
1568996582: /sbin/iptables -w5 -W10000 -I fpbxnets 10 -s */32 -j zone-internal
1568996583: /sbin/iptables -w5 -W10000 -N fpbxsvc-ssh
1568996583: /sbin/ip6tables -w5 -W10000 -N fpbxsvc-ssh
1568996583: /sbin/ip6tables -w5 -W10000 -F fpbxsvc-ssh
1568996583: /sbin/ip6tables -w5 -W10000 -A fpbxsvc-ssh -p tcp -m tcp --dport 22 -j ACCEPT
1568996583: /sbin/iptables -w5 -W10000 -F fpbxsvc-ssh
1568996583: /sbin/iptables -w5 -W10000 -A fpbxsvc-ssh -p tcp -m tcp --dport 22 -j ACCEPT
1568996583: /sbin/ip6tables -w5 -W10000 -A zone-internal -j fpbxsvc-ssh
1568996583: /sbin/iptables -w5 -W10000 -A zone-internal -j fpbxsvc-ssh
1568996583: /sbin/iptables -w5 -W10000 -N fpbxsvc-http
1568996583: /sbin/ip6tables -w5 -W10000 -N fpbxsvc-http
1568996583: /sbin/ip6tables -w5 -W10000 -F fpbxsvc-http
1568996583: /sbin/ip6tables -w5 -W10000 -A fpbxsvc-http -p tcp -m tcp --dport 80 -j ACCEPT
1568996583: /sbin/iptables -w5 -W10000 -F fpbxsvc-http
1568996583: /sbin/iptables -w5 -W10000 -A fpbxsvc-http -p tcp -m tcp --dport 80 -j ACCEPT
1568996583: /sbin/ip6tables -w5 -W10000 -A zone-internal -j fpbxsvc-http
1568996583: /sbin/iptables -w5 -W10000 -A zone-internal -j fpbxsvc-http
1568996583: /sbin/iptables -w5 -W10000 -N fpbxsvc-https
1568996583: /sbin/ip6tables -w5 -W10000 -N fpbxsvc-https
1568996583: /sbin/ip6tables -w5 -W10000 -F fpbxsvc-https
1568996583: /sbin/ip6tables -w5 -W10000 -A fpbxsvc-https -p tcp -m tcp --dport 443 -j ACCEPT
1568996583: /sbin/iptables -w5 -W10000 -F fpbxsvc-https
1568996583: /sbin/iptables -w5 -W10000 -A fpbxsvc-https -p tcp -m tcp --dport 443 -j ACCEPT
1568996583: /sbin/ip6tables -w5 -W10000 -A zone-internal -j fpbxsvc-https
1568996583: /sbin/iptables -w5 -W10000 -A zone-internal -j fpbxsvc-https
1568996583: /sbin/ip6tables -w5 -W10000 -A zone-external -j fpbxsvc-ucp
1568996583: /sbin/ip6tables -w5 -W10000 -A zone-other -j fpbxsvc-ucp
1568996583: /sbin/ip6tables -w5 -W10000 -A zone-internal -j fpbxsvc-ucp
1568996583: /sbin/iptables -w5 -W10000 -A zone-external -j fpbxsvc-ucp
1568996583: /sbin/iptables -w5 -W10000 -A zone-other -j fpbxsvc-ucp
1568996583: /sbin/iptables -w5 -W10000 -A zone-internal -j fpbxsvc-ucp
1568996583: /sbin/iptables -w5 -W10000 -N fpbxsvc-pjsip
1568996583: /sbin/ip6tables -w5 -W10000 -N fpbxsvc-pjsip
1568996583: /sbin/ip6tables -w5 -W10000 -F fpbxsvc-pjsip
1568996583: /sbin/ip6tables -w5 -W10000 -A fpbxsvc-pjsip -p udp -m udp --dport 5060 -j ACCEPT
1568996583: /sbin/ip6tables -w5 -W10000 -A fpbxsvc-pjsip -p tcp -m tcp --dport 8088 -j ACCEPT
1568996583: /sbin/iptables -w5 -W10000 -F fpbxsvc-pjsip
1568996583: /sbin/iptables -w5 -W10000 -A fpbxsvc-pjsip -p udp -m udp --dport 5060 -j ACCEPT
1568996583: /sbin/iptables -w5 -W10000 -A fpbxsvc-pjsip -p tcp -m tcp --dport 8088 -j ACCEPT
1568996583: /sbin/ip6tables -w5 -W10000 -A zone-internal -j fpbxsvc-pjsip
1568996583: /sbin/iptables -w5 -W10000 -A zone-internal -j fpbxsvc-pjsip
1568996583: /sbin/iptables -w5 -W10000 -N fpbxsvc-chansip
1568996583: /sbin/ip6tables -w5 -W10000 -N fpbxsvc-chansip
1568996583: /sbin/ip6tables -w5 -W10000 -F fpbxsvc-chansip
1568996583: /sbin/ip6tables -w5 -W10000 -A fpbxsvc-chansip -p udp -m udp --dport 5160 -j ACCEPT
1568996583: /sbin/iptables -w5 -W10000 -F fpbxsvc-chansip
1568996583: /sbin/iptables -w5 -W10000 -A fpbxsvc-chansip -p udp -m udp --dport 5160 -j ACCEPT
1568996583: /sbin/ip6tables -w5 -W10000 -A zone-internal -j fpbxsvc-chansip
1568996583: /sbin/iptables -w5 -W10000 -A zone-internal -j fpbxsvc-chansip
1568996583: /sbin/iptables -w5 -W10000 -N fpbxsvc-iax
1568996583: /sbin/ip6tables -w5 -W10000 -N fpbxsvc-iax
1568996583: /sbin/ip6tables -w5 -W10000 -F fpbxsvc-iax
1568996583: /sbin/ip6tables -w5 -W10000 -A fpbxsvc-iax -p udp -m udp --dport 4569 -j ACCEPT
1568996583: /sbin/iptables -w5 -W10000 -F fpbxsvc-iax
1568996583: /sbin/iptables -w5 -W10000 -A fpbxsvc-iax -p udp -m udp --dport 4569 -j ACCEPT
1568996583: /sbin/ip6tables -w5 -W10000 -A zone-internal -j fpbxsvc-iax
1568996583: /sbin/iptables -w5 -W10000 -A zone-internal -j fpbxsvc-iax
1568996583: /sbin/iptables -w5 -W10000 -N fpbxsvc-webrtc
1568996583: /sbin/ip6tables -w5 -W10000 -N fpbxsvc-webrtc
1568996583: /sbin/ip6tables -w5 -W10000 -F fpbxsvc-webrtc
1568996583: /sbin/ip6tables -w5 -W10000 -A fpbxsvc-webrtc -p tcp -m tcp --dport 8088 -j ACCEPT
1568996583: /sbin/ip6tables -w5 -W10000 -A fpbxsvc-webrtc -p tcp -m tcp --dport 8089 -j ACCEPT
1568996583: /sbin/iptables -w5 -W10000 -F fpbxsvc-webrtc
1568996583: /sbin/iptables -w5 -W10000 -A fpbxsvc-webrtc -p tcp -m tcp --dport 8088 -j ACCEPT
1568996583: /sbin/iptables -w5 -W10000 -A fpbxsvc-webrtc -p tcp -m tcp --dport 8089 -j ACCEPT
1568996583: /sbin/ip6tables -w5 -W10000 -A zone-internal -j fpbxsvc-webrtc
1568996583: /sbin/iptables -w5 -W10000 -A zone-internal -j fpbxsvc-webrtc
1568996583: /sbin/iptables -w5 -W10000 -N fpbxsvc-letsencrypt
1568996583: /sbin/ip6tables -w5 -W10000 -N fpbxsvc-letsencrypt
1568996583: /sbin/ip6tables -w5 -W10000 -F fpbxsvc-zulu
1568996583: /sbin/ip6tables -w5 -W10000 -A fpbxsvc-zulu -p tcp -m tcp --dport 8002 -j fpbxratelimit
1568996583: /sbin/iptables -w5 -W10000 -F fpbxsvc-zulu
1568996583: /sbin/iptables -w5 -W10000 -A fpbxsvc-zulu -p tcp -m tcp --dport 8002 -j fpbxratelimit
1568996583: /sbin/ip6tables -w5 -W10000 -A zone-external -j fpbxsvc-zulu
1568996583: /sbin/ip6tables -w5 -W10000 -A zone-other -j fpbxsvc-zulu
1568996583: /sbin/ip6tables -w5 -W10000 -A zone-internal -j fpbxsvc-zulu
1568996583: /sbin/iptables -w5 -W10000 -A zone-external -j fpbxsvc-zulu
1568996583: /sbin/iptables -w5 -W10000 -A zone-other -j fpbxsvc-zulu
1568996583: /sbin/iptables -w5 -W10000 -A zone-internal -j fpbxsvc-zulu
1568996583: /sbin/iptables -w5 -W10000 -N fpbxsvc-isymphony
1568996583: /sbin/ip6tables -w5 -W10000 -N fpbxsvc-isymphony
1568996583: /sbin/ip6tables -w5 -W10000 -F fpbxsvc-isymphony
1568996583: /sbin/ip6tables -w5 -W10000 -A fpbxsvc-isymphony -p tcp -m tcp --dport 58080 -j ACCEPT
1568996583: /sbin/ip6tables -w5 -W10000 -A fpbxsvc-isymphony -p tcp -m tcp --dport 55050 -j ACCEPT
1568996583: /sbin/iptables -w5 -W10000 -F fpbxsvc-isymphony
1568996583: /sbin/iptables -w5 -W10000 -A fpbxsvc-isymphony -p tcp -m tcp --dport 58080 -j ACCEPT
1568996583: /sbin/iptables -w5 -W10000 -A fpbxsvc-isymphony -p tcp -m tcp --dport 55050 -j ACCEPT
1568996583: /sbin/ip6tables -w5 -W10000 -A zone-internal -j fpbxsvc-isymphony
1568996583: /sbin/iptables -w5 -W10000 -A zone-internal -j fpbxsvc-isymphony
1568996583: /sbin/ip6tables -w5 -W10000 -F fpbxsvc-provis
1568996583: /sbin/ip6tables -w5 -W10000 -A fpbxsvc-provis -p tcp -m tcp --dport 84 -j ACCEPT
1568996583: /sbin/iptables -w5 -W10000 -F fpbxsvc-provis
1568996583: /sbin/iptables -w5 -W10000 -A fpbxsvc-provis -p tcp -m tcp --dport 84 -j ACCEPT
1568996583: /sbin/ip6tables -w5 -W10000 -A zone-other -j fpbxsvc-provis
1568996583: /sbin/ip6tables -w5 -W10000 -A zone-internal -j fpbxsvc-provis
1568996583: /sbin/iptables -w5 -W10000 -A zone-other -j fpbxsvc-provis
1568996583: /sbin/iptables -w5 -W10000 -A zone-internal -j fpbxsvc-provis
1568996583: /sbin/ip6tables -w5 -W10000 -A zone-other -j fpbxsvc-provis_ssl
1568996583: /sbin/ip6tables -w5 -W10000 -A zone-internal -j fpbxsvc-provis_ssl
1568996584: /sbin/iptables -w5 -W10000 -A zone-other -j fpbxsvc-provis_ssl
1568996584: /sbin/iptables -w5 -W10000 -A zone-internal -j fpbxsvc-provis_ssl
1568996584: /sbin/iptables -w5 -W10000 -N fpbxsvc-vpn
1568996584: /sbin/ip6tables -w5 -W10000 -N fpbxsvc-vpn
1568996584: /sbin/ip6tables -w5 -W10000 -F fpbxsvc-vpn
1568996584: /sbin/ip6tables -w5 -W10000 -A fpbxsvc-vpn -p udp -m udp --dport 1194 -j ACCEPT
1568996584: /sbin/iptables -w5 -W10000 -F fpbxsvc-vpn
1568996584: /sbin/iptables -w5 -W10000 -A fpbxsvc-vpn -p udp -m udp --dport 1194 -j ACCEPT
1568996584: /sbin/ip6tables -w5 -W10000 -A zone-external -j fpbxsvc-vpn
1568996584: /sbin/ip6tables -w5 -W10000 -A zone-other -j fpbxsvc-vpn
1568996584: /sbin/ip6tables -w5 -W10000 -A zone-internal -j fpbxsvc-vpn
1568996584: /sbin/iptables -w5 -W10000 -A zone-external -j fpbxsvc-vpn
1568996584: /sbin/iptables -w5 -W10000 -A zone-other -j fpbxsvc-vpn
1568996584: /sbin/iptables -w5 -W10000 -A zone-internal -j fpbxsvc-vpn
1568996584: /sbin/ip6tables -w5 -W10000 -F fpbxsvc-restapps
1568996584: /sbin/ip6tables -w5 -W10000 -A fpbxsvc-restapps -p tcp -m tcp --dport 82 -j ACCEPT
1568996584: /sbin/iptables -w5 -W10000 -F fpbxsvc-restapps
1568996584: /sbin/iptables -w5 -W10000 -A fpbxsvc-restapps -p tcp -m tcp --dport 82 -j ACCEPT
1568996584: /sbin/ip6tables -w5 -W10000 -A zone-internal -j fpbxsvc-restapps
1568996584: /sbin/iptables -w5 -W10000 -A zone-internal -j fpbxsvc-restapps
1568996584: /sbin/ip6tables -w5 -W10000 -A zone-internal -j fpbxsvc-restapps_ssl
1568996584: /sbin/iptables -w5 -W10000 -A zone-internal -j fpbxsvc-restapps_ssl
1568996584: /sbin/iptables -w5 -W10000 -N fpbxsvc-xmpp
1568996584: /sbin/ip6tables -w5 -W10000 -N fpbxsvc-xmpp
1568996584: /sbin/ip6tables -w5 -W10000 -F fpbxsvc-xmpp
1568996584: /sbin/ip6tables -w5 -W10000 -A fpbxsvc-xmpp -p tcp -m tcp --dport 5222 -j ACCEPT
1568996584: /sbin/iptables -w5 -W10000 -F fpbxsvc-xmpp
1568996584: /sbin/iptables -w5 -W10000 -A fpbxsvc-xmpp -p tcp -m tcp --dport 5222 -j ACCEPT
1568996584: /sbin/ip6tables -w5 -W10000 -A zone-external -j fpbxsvc-xmpp
1568996584: /sbin/ip6tables -w5 -W10000 -A zone-other -j fpbxsvc-xmpp
1568996584: /sbin/ip6tables -w5 -W10000 -A zone-internal -j fpbxsvc-xmpp
1568996584: /sbin/iptables -w5 -W10000 -A zone-external -j fpbxsvc-xmpp
1568996584: /sbin/iptables -w5 -W10000 -A zone-other -j fpbxsvc-xmpp
1568996584: /sbin/iptables -w5 -W10000 -A zone-internal -j fpbxsvc-xmpp
1568996584: /sbin/iptables -w5 -W10000 -N fpbxsvc-ftp
1568996584: /sbin/ip6tables -w5 -W10000 -N fpbxsvc-ftp
1568996584: /sbin/ip6tables -w5 -W10000 -F fpbxsvc-ftp
1568996584: /sbin/ip6tables -w5 -W10000 -A fpbxsvc-ftp -p tcp -m tcp --dport 21 -j ACCEPT
1568996584: /sbin/iptables -w5 -W10000 -F fpbxsvc-ftp
1568996584: /sbin/iptables -w5 -W10000 -A fpbxsvc-ftp -p tcp -m tcp --dport 21 -j ACCEPT
1568996584: /sbin/ip6tables -w5 -W10000 -A zone-internal -j fpbxsvc-ftp
1568996584: /sbin/iptables -w5 -W10000 -A zone-internal -j fpbxsvc-ftp
1568996584: /sbin/iptables -w5 -W10000 -N fpbxsvc-tftp
1568996584: /sbin/ip6tables -w5 -W10000 -N fpbxsvc-tftp
1568996584: /sbin/ip6tables -w5 -W10000 -F fpbxsvc-tftp
1568996584: /sbin/ip6tables -w5 -W10000 -A fpbxsvc-tftp -p udp -m udp --dport 69 -j ACCEPT
1568996584: /sbin/iptables -w5 -W10000 -F fpbxsvc-tftp
1568996584: /sbin/iptables -w5 -W10000 -A fpbxsvc-tftp -p udp -m udp --dport 69 -j ACCEPT
1568996584: /sbin/ip6tables -w5 -W10000 -A zone-internal -j fpbxsvc-tftp
1568996584: /sbin/iptables -w5 -W10000 -A zone-internal -j fpbxsvc-tftp
1568996584: /sbin/iptables -w5 -W10000 -N fpbxsvc-nfs
1568996584: /sbin/ip6tables -w5 -W10000 -N fpbxsvc-nfs
1568996584: /sbin/iptables -w5 -W10000 -N rejsvc-nfs
1568996584: /sbin/ip6tables -w5 -W10000 -N rejsvc-nfs
1568996584: /sbin/ip6tables -w5 -W10000 -A fpbxreject -j rejsvc-nfs
1568996584: /sbin/iptables -w5 -W10000 -A fpbxreject -j rejsvc-nfs
1568996584: /sbin/iptables -w5 -W10000 -N fpbxsvc-smb
1568996584: /sbin/ip6tables -w5 -W10000 -N fpbxsvc-smb
1568996584: /sbin/iptables -w5 -W10000 -N rejsvc-smb
1568996584: /sbin/ip6tables -w5 -W10000 -N rejsvc-smb
1568996584: /sbin/ip6tables -w5 -W10000 -A fpbxreject -j rejsvc-smb
1568996584: /sbin/iptables -w5 -W10000 -A fpbxreject -j rejsvc-smb
1568996584: /sbin/ip6tables -w5 -W10000 -A fpbx-rtp -p udp -m udp --dport 10000:20000 -j ACCEPT
1568996584: /sbin/ip6tables -w5 -W10000 -A fpbx-rtp -p udp -m udp --dport 4000:4999 -j ACCEPT
1568996584: /sbin/iptables -w5 -W10000 -A fpbx-rtp -p udp -m udp --dport 10000:20000 -j ACCEPT
1568996584: /sbin/iptables -w5 -W10000 -A fpbx-rtp -p udp -m udp --dport 4000:4999 -j ACCEPT
1568996584: /sbin/ip6tables -w5 -W10000 -A fpbxsignalling -p udp -m udp --dport 5160 -j MARK --set-xmark 0x3/0xffffffff
1568996584: /sbin/ip6tables -w5 -W10000 -A fpbxsignalling -p udp -m udp --dport 5060 -j MARK --set-xmark 0x3/0xffffffff
1568996584: /sbin/iptables -w5 -W10000 -A fpbxsignalling -p udp -m udp --dport 5160 -j MARK --set-xmark 0x3/0xffffffff
1568996584: /sbin/iptables -w5 -W10000 -A fpbxsignalling -p udp -m udp --dport 5060 -j MARK --set-xmark 0x3/0xffffffff
1568996584: /sbin/iptables -w5 -W10000 -A fpbxsmarthosts -s */32 -m mark --mark 0x1/0x1 -j ACCEPT
1568996584: /sbin/iptables -w5 -W10000 -A fpbxregistrations -s */32 -j fpbxknownreg
1568996584: /sbin/ip6tables -w5 -W10000 -A fpbxhosts -s ::1/128 -j zone-trusted
1568996584: /sbin/iptables -w5 -W10000 -A fpbxhosts -s */32 -j zone-internal
1568996584: /sbin/iptables -w5 -W10000 -A fpbxhosts -s */32 -j zone-internal
1568996584: /sbin/iptables -w5 -W10000 -A fpbxhosts -s */32 -j zone-internal
1568996584: /sbin/iptables -w5 -W10000 -A fpbxhosts -s */32 -j zone-internal
1568996584: /sbin/iptables -w5 -W10000 -A fpbxhosts -s 127.0.0.1/32 -j zone-trusted
1568996584: /sbin/ip6tables -w5 -W10000 -R fpbxlogdrop 1 -j DROP
1568996584: /sbin/iptables -w5 -W10000 -R fpbxlogdrop 1 -j DROP
1568996584: /sbin/ip6tables -w5 -W10000 -A fpbxinterfaces -i eth0 -j zone-internal
1568996584: /sbin/iptables -w5 -W10000 -A fpbxinterfaces -i eth0 -j zone-internal

If I reboot the machine the corrupt firewall rules warning goes away.

Does anyone have any additional recommendations on how to further debug this?

Use the GUI to add a custom service to Firewall and apply permissions as desired. Connectivity -> Firewall -> Services -> Custom Services (tab) -> Create new service button.

2 Likes

Can’t believe I haven’t been able to find anywhere recommending this. So easy. Thanks lgaetz you’re a pbx genius!

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.