A firewall is a type of security system to keep unwanted users from accessing your network. Firewalls can be hardware devices or software applications that act as gatekeepers for all incoming and outgoing traffic.