A firewall is a network security tool that monitors incoming and outgoing network traffic and allows or blocks data packets based on a set of security rules.
The purpose is to establish a barrier between traffic coming from your internal network and external sources such as the Internet so as to block malicious traffic such as viruses and hackers.Now lets see how does Fairwall works.
How does Fairwall works
The firewall carefully analyzes incoming traffic based on pre-established rules and filters traffic coming from unsafe or suspicious sources to prevent attacks. A firewall protects traffic at a computer’s entry point, called a port, which is the exchange of information with external devices. For example, “Source address 172.18.1.1 is allowed to reach destination 172.18.2.1 at port 22.”
Example-Think of IP addresses as homes and port numbers as rooms within a home. Only trusted people (source addresses) are allowed to enter the house (destination address) – then it is further filtered so that people inside the house are allowed to access only certain rooms (destination ports), on the basis But whether they are the owner, a child, or a guest. The owner is allowed any room (any port), while children and guests are allowed into a certain room (specific port).
Types of Firewall
Host- based Firewalls- Host-based firewall are installed on each network node which controls each incoming and outgoing packet. It is a software application or suit of applications, comes as a part of operating system.
Network-based Firewalls- It protects the internal network by filtering the traffic using rules defined on firewall. These firewalls filters all incoming and outgoing traffic across the network.