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 15.1, Installing IPTables Basic
Section 15.2, Installing IPTables Advanced
Section 15.3, Post-Installation