A firewall is a device that controls incoming and outgoing network traffic based on a set of rules. A bastion host is a special computer designed to withstand attacks by running only a single application like a proxy server and limiting other services. There are three main types of firewalls: packet filters, stateful filters, and application layer firewalls. Popular firewall brands include phion netfence, Astaro Security Linux, ActionTEC, and Arkoon FAST360.