How to override iptables rules outside of firewall module?

@Gandalf:
I think that if you are fighting the FreePBX firewall (some of which is closed source) so you are mostly BYHATW, (Between Your Host And The Wall). If you want to be in charge, just disable/uninstall/delete the FreePBX firewall, (don’t let FPBX write your rules , write and save your own)