a technological barrier designed to prevent unauthorized or unwanted communications between computer networks or hosts
A firewall is a device or set of devices designed to permit or deny network transmissions based upon a set of rules and is frequently used to protect networks from unauthorized access while permitting legitimate communications to pass.