Computer Networks · Firewalls
Firewall: Need and Concept of Protecting Internal Network
Overview
A firewall is a software system placed between an organization's internal network and the untrusted external network (the internet) to protect internal resources from outside access.
It applies restrictions on who can reach the internal computers from outside and how internal users can reach the outside world.
Key concepts
- Firewall: A software system used to protect and restrict access to the resources of an internal network from the outside world.
- Internal network: The organization's own set of computers — the part that must be protected.
- External network: The untrusted party outside the organization, reached through the internet connection.
- Physical security analogy: A building is protected by walls, normal gates, and security personnel standing outside who allow only authorized people to enter; a firewall applies the same concept to network protection.
- Bidirectional control: The firewall controls traffic in both directions — outside to inside, and inside to outside.
- Rules: The restrictions are applied in the form of rules specifying who or what can access in each direction.
How it works
- An organization has computers inside it (the internal network) and an internet connection coming from the outside world.
- Physically, the building is protected with walls, gates, and security personnel who allow only authorized people to enter.
- Even with physical protection, once an internet connection from the outside world exists, anyone from outside can access the resources present inside the organization — such attacks are possible.
- The same concept as physical walls is applied to internet protection: to protect the (mainly computer) resources from the outside world, a firewall is applied.
- The firewall restricts access: it specifies which outside parties can access the computers from outside, and how inside people can access the outside world.
- In network view: the internal network is the organization, the external network is the untrusted party outside, and the firewall (a software) is placed between the internal and external networks to stop unauthorized access to internal resources.
Revision summary
- A firewall is a software system, not a physical wall.
- It protects internal network resources from the outside world by restricting access.
- It works on the same principle as physical security: walls, gates, and security personnel.
- It controls traffic in both directions: outside to inside and inside to outside.
- The external network is treated as untrusted; the internal network is what must be protected.
- Restrictions take the form of rules stating who or what can access in each direction.
- An internet connection alone exposes internal resources to anyone outside — the firewall is what stops that access.
Previous-year exam insights
- A firewall can be a hardware device, a software program, or a combination of both; it may protect a single host (host-based/personal firewall) or an entire network (network-based firewall).
Asked inUGC NET 2020 - A DMZ (demilitarized zone) is a separate subnetwork placed between the external untrusted network and the internal trusted network, holding public-facing servers; using two firewalls (one facing the internet, one facing the internal network) lets you control which traffic flows among the three zones (external, DMZ, internal).
Asked inISRO 2018 - Firewall types and their basis: packet-filtering firewall (works on header fields such as source/destination IP, port, protocol), stateful inspection firewall (tracks connection state), application-level/proxy firewall (inspects application payload), and circuit-level gateway.
- A packet-filtering firewall uses an access control list (ACL) of rules applied in order; each rule may allow or deny based on source IP, destination IP, source port, destination port and protocol, and the default (last) rule is typically deny-all.
- Firewalls cannot stop attacks that bypass them: internal attacks by insiders, viruses/malware already inside, or traffic over unauthorised channels (e.g., dial-up or wireless links); they also cannot protect against poorly configured internal policies.
- Firewalls are commonly placed at the boundary between networks and may be combined with NAT and proxy services; a firewall does not by itself provide load balancing or improve network performance.
Asked inISRO 2018