A firewall is a hardware or software device that is configured to permit, deny, or proxy data through a computer network that has different levels of trust.
Section 14.1, Installing IPTables Basic
Section 14.2, Installing IPTables Advanced
Section 14.3, Post-Installation