Understanding Firewalls
What are Firewalls?
- Firewalls are essential components in network security, primarily tasked with traffic filtering.
- They organize network traffic based on a predetermined set of rules that determine which types of traffic are permitted to enter (let in) or leave (keep out) the network.
Basic Functions of Firewalls
The fundamental function of a firewall involves evaluating traffic through three specific criteria/rules:
- Source: Refers to the origin of the traffic, identifying where the data packets are coming from.
- Destination: Denotes the endpoint of the traffic, specifying where the data packets are intended to go.
- Protocol: Indicates the transport protocol employed by the traffic, such as Transmission Control Protocol (TCP) or User Datagram Protocol (UDP).
Firewalls are considered a critical component of any corporate network infrastructure.
Most home routers are equipped with built-in firewall capabilities that users can configure via an online portal.
Types of Firewalls
Hardware Firewalls:
- These are dedicated appliances or devices designed to protect an entire network.
- They are typically installed at the network's edge, allowing them to inspect all traffic that traverses the network.
Software Firewalls:
- Software firewalls are programs or applications that protect individual workstations or servers.
- They inspect only the traffic directed to that specific device and do not monitor other network traffic.
Web Application Firewalls (WAF):
- A specialized type of firewall that focuses on protecting web applications.
- These firewalls filter and monitor traffic between web applications and the Internet.
- They can be deployed on the network, directly on the host, or as cloud-based solutions.
Using Firewalls
Different operating systems come with pre-installed firewalls. Examples include:
- Windows Firewall, which is included with Windows operating systems.
- The Firewall software that comes with Mac OS (referred to as macOS firewall).
Users have the option to replace the pre-installed firewall with a different one if they prefer.
It is advisable to avoid running two firewall applications simultaneously on the same device, as this can lead to conflicts and operational issues.
Home firewall software can be configured to operate in either a private or public network environment, adapting to the user's security needs.