Sitemap

Firewall Security

3 min readNov 9, 2023

--

“Safeguarding Your Digital Frontier with Firewall Protection.”

Press enter or click to view image in full size

👉🏻What is Firewall ?

A firewall is a security device or program that monitors network traffic and detects potential threats based on predetermined security rules. The main purpose of a firewall is to act as a barrier that allows non-threatening traffic in and keeps dangerous traffic out.

👉🏻How does a Firewall Work?

Firewall work on security rules or called access control lists (ACLs). All the rules are process Top-Down approach means rules which are first match out because of that order of the rules matter. Important things to consider that allow action rules should be mentioned first then mentioned all the deny rules action and lastly implicit deny mentioned for deny all the traffic which is not mentioned in allow action rules. This will help to block all the unknown traffic.

Press enter or click to view image in full size

👉🏻Firewall Zones:

  1. Inside Zone/Trusted Network/LAN: The most trusted (private) network.
  2. Outside Zone/Untrusted Zone/WAN: The most untrusted (public) network.
  3. DMZ (Demilitarized Zone)/(public zone): It is a separate network segment where contains devices like company public facing servers.

👉🏻 Firewall Actions:

  1. Allow: pass
  2. Deny: Block, when the firewall set to deny a connection it blocks the connection and sends a reset (RST) packet to the requester (source).
  3. Drop: when the firewall is set to drop a connection it just drop the requests without giving any message to the requester.

Note: It is good practice to deny outbound traffic and drop inbound traffic, so the attacker will not know the presence of the firewall.

👉🏻Types of firewall:

Based on delivery method:

  1. Software firewalls
  2. Hardware firewalls
  3. Cloud firewalls

Based on techniques:

  1. Packet filtering firewall — (Network layer ) — This Firewall serves as inline security checkpoint attached to a router or switch. It filtering incoming packets according to the information they carry.
  2. Circuit level gateway — (Session layer )— it monitors TCP handshaking between packets to determine whether a requested session is legitimate.
  3. Stateful inspection firewall — (Network & Transport layers )— it monitors the state of active connections in state table and uses this information to determine which network packets to allow through the firewall. It keeps track of the state of connection by monitoring TCP 3 way handshake. The connection will be removed from the state table for 2 reasons (firewall process FIN and firewall sees a RST).
  4. Stateful multilayer firewall: It uses a sophisticated form of packet filtering that examines all seven layers of the OSI model.
  5. Proxy firewall — (Application layer )— It serves as an intermediate device between internal and external systems communicating over the internet. It protects the network by forwarding requests from the original; client and masking as it as its own.
  6. NAT Firewall: It is similar to the proxy firewall, acting as intermediate between a group of computers and outside traffic. Act as a private networks and allowing multiple devices with independent network address to connect to the internet with a single IP address.
  7. Next-gen firewalls (NGFW) — All layer except physical layer — it is a security device that combines number of functions of other firewalls. It incorporates packet, stateful and deep packet inspection.
  8. Cloud firewall / firewall as a service (FaaS): It is cloud solution for network protection. It is maintained and run on the internet by other third party cloud vendors.
  9. Application gateway firewalls: It has the capability to inspect packets and ensure the packets are conforming to application specification. It filters incoming node traffic to certain specifications which mean that only transmitted network application data is filtered.

👉🏻 Example of Firewall Vendor Name and Product Name:

  1. Cisco- Cisco ASA (Adaptive Security Appliance)
  2. Fortinate- Fortinate FortiGate
  3. Palo Alto Networks- Palo Alto Networks Next-Generation Firewalls
  4. Check Point- Check point Firewall
  5. Sophos- Sophos XG Firewall

Open-source Tools

  1. pfSense
  2. OPNsense

Conclusion:

😊Thank you reader…..

Get JITENDRA MOHAPATRA’s stories in your inbox

Join Medium for free to get updates from this writer.

if you want to know more about the cybersecurity concepts then check out my bio on medium.

Do you think this article is benefit for you or you have any other points to add?? Do let me know in the comment session.

Happy Reading!

--

--

JITENDRA MOHAPATRA
JITENDRA MOHAPATRA

Written by JITENDRA MOHAPATRA

Cybersecurity Enthusiast | Engineer | Tech. Blogger