Explore our new Cybersecurity Terms Glossary, explained by our experts.
Cybersecurity Terms Glossary
A firewall is a network security device (security wall) that monitors incoming and outgoing network traffic and either blocks or allows data packets based on a set of security rules. There must be some boundary points between your network and the outside world. To give an example of these connection points: in corporate networks, the […]

What Is a Firewall? How Does a Firewall Work?

A firewall is a network security device (security wall) that monitors incoming and outgoing network traffic and either blocks or allows data packets based on a set of security rules.
There must be some boundary points between your network and the outside world. To give an example of these connection points: in corporate networks, the most commonly used boundary devices are firewall devices. These devices are called security walls (firewalls). They create a barrier between your network and the external network or internet, imposing access restrictions. Authorised access can communicate data, while unauthorised access is blocked. These authorisations consist of rules defined on the firewall devices. These rules enable certain restrictions to be placed between computers and your networks. We would like to note that not every connection method on the internet or in internal communications is a legal connection, and that there is always a possibility of a cyber attack among these connections.
A firewall examines each data packet that attempts to pass through it and compares it against a predefined set of rules. If the packet matches an allow rule, it is permitted to pass. If it matches a block rule, or if no matching rule is found and the default policy is to deny, the packet is dropped or rejected.
Firewalls can be implemented as dedicated hardware devices, as software installed on a computer, or as cloud-based virtual appliances. Each approach has its advantages and is suited to different deployment scenarios.
You May Be Interested In These
We use a few cookies that are needed to make this website work, and they are always on. We would also like to set analytics cookies, to see which pages are useful; functional cookies, so that our live chat works; and advertising cookies, to measure our campaigns. We will not set any of those until you say yes, and you can change your mind at any time from the Cookie Settings link in the footer.
Choose the cookies you are happy for us to use. Strictly necessary cookies are always on; everything else is off until you turn it on.
These cookies keep the website working: they hold your security checks, your form submissions and the choice you make here. The site cannot run without them, so they are always on.
These let our live chat open and remember your conversation, and let the newsletter sign-up work. Switch them off and the chat window will not appear.
These tell us which pages are read and how people find us, so that we can improve the site. The reports are about groups of visitors, never about you personally.
These let us measure our advertising and show you our adverts on other websites, such as LinkedIn, Google and Meta. Switch them off and you will still see adverts, but they will be less relevant.