A firewall is a network security device that grants or rejects network access to traffic flows between an untrusted zone