Firewall A firewall protects a computer network from unauthorized access. Network firewalls may be hardware devices, software programs, or a combination of the two.