If you are using FreePBX 13 their is now a perfect firewall built into FreePBX to handle all your firewall needs