Ends soon! Grow on your schedule with big savings on Coursera Plus. Save 40% for 3 months.

What Is a Firewall?

Written by Coursera Staff • Updated on

Learn about the role firewalls play in safeguarding networks and devices from cyber threats.

[Featured Image] A cybersecurity engineer builds a firewall to regulate incoming and outgoing internet traffic.

Key takeaways

  • A firewall is a network security device that acts as a gatekeeper, controlling the incoming and outgoing internet traffic on your private network.

  • Firewall software is installed on individual devices to prevent malicious traffic, making it a popular firewall option for individuals and small businesses.

  • A firewall in a computer network creates a barrier between trusted and untrusted networks based on a predetermined set of security rules.

The primary function of a firewall is to provide network security. Explore what a firewall is and some common types of firewalls below.

To learn more about network security, consider enrolling in IBM's IT Fundamentals for Cybersecurity Specialization. In as little as four weeks, you can build skills in Linux administration, cyberattacks, malware protection, and more.

What is a firewall?

A firewall is a network security device. It creates a barrier between a trusted network and an untrustworthy network. For example, a firewall can restrict internet traffic from accessing your private network. It acts like a gatekeeper, controlling incoming and outgoing traffic according to a predetermined set of security rules.

Types of firewalls

The list below outlines a few examples of firewall types:

  • Hardware firewall: Also known as an appliance firewall, this type of firewall is a separate, self-contained piece of hardware designed to filter network traffic. Hardware firewalls are popular among larger organizations with many computers in their network.

  • Software firewall: Software firewalls are installed on a host device to prevent malicious traffic. To provide protection to several computers, a version of the software must be installed on each one. For this reason, software firewalls are popular among individuals and small businesses.

  • Application firewall: This type of firewall is designed to control outgoing and incoming traffic and provide protection at the application layer. Examples include web application firewalls (WAF), which protect web servers and sites, and database firewalls (DB).

  • Network firewall: Network-based firewalls monitor incoming and outgoing traffic from the internet to secure local area networks (LANs). They prevent security issues like malware threats from impacting the entire network by blocking unauthorized access to all connected devices.

Firewall vs. antivirus: What's the difference?

Antivirus is security software. A firewall can be hardware, software, or a combination of the two. Firewalls focus on preventing unauthorized access and monitoring network traffic. The primary goal of antivirus software is to prevent, monitor, and eliminate harmful code or software.

Read more: Cybersecurity Glossary: Key Terms & Definitions

Related terms

Explore our cybersecurity resources

Subscribe to our Career Chat newsletter on LinkedIn for industry insights, skill-building tips, and networking opportunities. Then, explore our free resources for learning about cybersecurity:

Read our Career Chat issue: How AI Is Changing Cybercrime and Cybersecurity

Whether you want to develop a new skill, get a feel for trends in your industry, or stay updated on career-related news, a Coursera Plus subscription can provide guidance. You’ll get access to over 10,000 flexible courses.

Updated on
Written by:

Editorial Team

Coursera’s editorial team is comprised of highly experienced professional editors, writers, and fact...

This content has been made available for informational purposes only. Learners are advised to conduct additional research to ensure that courses and other credentials pursued meet their personal, professional, and financial goals.

Coursera is provided by
aivonixit.com