Q.Ask your teacher to show you how to enable and disable firewall on your computer.
You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
Start your 14-day free trial to unlock the full solution →Concept understanding — Firewall Configuration
Think of a firewall as the security guard at the gate of a large apartment complex. The guard has a list of rules: who is allowed in, who is allowed out, and what they are allowed to carry. Without the guard, anyone could walk in, wander the halls, and help themselves to whatever they find. With the guard, every visitor is checked against the rules before being let through. A firewall does exactly this for a computer or a network — it sits between your device and the internet, inspecting every piece of data that tries to enter or leave, and deciding whether to allow it or block it based on a set of pre-defined rules.
The key idea is that a firewall is not a wall that blocks everything. It is a filter. It looks at each "packet" of data — think of a packet as a single envelope carrying a message — and checks things like where it came from, where it is going, and what kind of message it is. If the envelope matches a rule that says "allow", it passes. If it matches a rule that says "block", it is dropped. If it matches no rule at all, the firewall's default behaviour decides the outcome. That default is usually to block anything not explicitly allowed, which is the safest approach — like a guard who turns away anyone not on the list, rather than letting strangers in just because no rule says "no".
Why does this matter? Because the internet is not a friendly neighbourhood. Every device connected to it is constantly being probed by automated programs looking for open doors. Without a firewall, your computer would respond to these probes, revealing information about itself and potentially allowing unwanted access. With a firewall, those probes are silently ignored or rejected, so your device becomes much harder to find and much harder to break into. For a student, the practical takeaway is simple: a firewall is your first line of defence against unauthorised access, and understanding its basics helps you make sense of why some websites or apps work and others don't, and why security software keeps asking you to allow or block things.
Here are the core pieces of firewall configuration you will actually encounter:
- Rules: The heart of any firewall. Each rule says something like "allow traffic from this address to this port" or "block traffic from this address entirely". Rules are read in order, and the first match wins.
- Default policy: What happens when no rule matches. The two choices are "allow all" (risky) and "deny all" (safe). Most good configurations use "deny all" and then add specific allowances.
- Ports: Think of a port as a specific door on your computer. Web traffic uses port 80 (HTTP) and 443 (HTTPS), email uses others. A firewall can open or close individual doors, so you can allow web browsing but block file-sharing.
- Source and destination: Every rule specifies where the data is coming from (source) and where it is going (destination). This lets you allow your own office network but block everyone else. …
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.