Learning Hub / NETWORK SECURITY
What is a Firewall?
Learn how firewalls control network connections using rules about what is allowed and blocked.
Cyber Career Studio • Free resource
A firewall is a security tool that controls network traffic—the information moving between devices and networks. It uses rules to allow or block connections. For example, a firewall can allow employees to reach a company application while blocking connections from sources that should not have access.
Why it matters for your career
Firewalls help protect devices and limit access to systems. Understanding them helps you troubleshoot connection problems, configure approved access, and investigate suspicious activity.
Help Desk Support
Investigate whether a firewall is blocking a connection someone needs for work. Collect details about the application, device, and error before escalating the issue.
System Administration
Configure firewall rules so approved services can communicate. Review changes carefully and avoid opening more access than the service needs.
Security Operations
Investigate suspicious connections and review firewall logs. Look for unexpected access, repeated blocked attempts, or rules that allow unnecessary connections.
Core concepts to know
Network traffic — Information moving between systems
Traffic is the information devices send and receive over a network. Inbound traffic comes into the device or network being protected. Outbound traffic leaves it.
Firewall rules — What can connect?
Instructions that tell the firewall which traffic to allow or block. A rule might allow a particular computer to connect to a company server while blocking other computers from making that connection.
Firewall logs — What was allowed or blocked?
Records of connections the firewall observed, depending on its logging settings. They can help show which devices were involved, when the activity happened, and whether a connection was allowed or blocked.
What it looks like at work
A REAL-WORLD EXAMPLE
A company has a database server that only an approved application server should contact directly. A firewall rule allows that connection and blocks other devices from connecting to the database.
An employee tries to connect directly from a laptop, and the firewall blocks the attempt. IT reviews the rule and available logs, confirms the restriction is intentional, and directs the employee to use the approved application.
Checking Connections Against Rules
A firewall evaluates traffic and applies the rules configured for the device or network.
1 - A device tries to communicate
A computer or application sends information toward another system.
2 - The firewall checks the traffic
It evaluates details such as where the traffic comes from, where it is going, and which service it is trying to reach.
3 - Allow or block the connection
The firewall applies the matching rule. If logging is configured for that activity, it also records information that IT or security teams can review.
💡 Common Mix-up
A blocked connection does not automatically mean an attack occurred. A legitimate application can also be blocked by an incorrect or outdated rule. Investigate why the traffic was blocked before deciding whether a rule needs to change.
The interview connection
Explain how firewall rules control access before naming a product. This shows the interviewer that you understand both their security purpose and their effect on everyday connectivity.
EXAMPLE EXPLANATION
A firewall controls network traffic using rules that allow or block connections. For example, a company could allow only an approved application server to connect to a database. When troubleshooting a blocked connection, I would check the intended access, the relevant rules, and available logs before recommending a change.
Three things to take away
- Firewalls use rules to allow or block network traffic.
- Rules should provide the access needed for approved work.
- Firewall logs help explain connection problems and support security investigations.
Questions, clarified.
Is a firewall a physical device or software?
It can be either. A network firewall can protect connections between networks. A host-based firewall runs on an individual computer or server and controls traffic entering or leaving that device. Organizations often use both.
Is a firewall the same thing as antivirus?
No. A firewall controls network traffic. Antivirus focuses on detecting and blocking malicious software. Some security products include both functions, but they serve different purposes.
Read next
What would you like to learn next?
Search and browse beginner-friendly explanations of IT and cybersecurity topics in the Learning Library.
Let’s Work on Your Next Step
Whether you’re updating your résumé, preparing for interviews or planning your next IT or cybersecurity move, I’m here to help.
