Lesson 4 of 8 · About 4 minutes

Read a firewall rule as a sentence

Learn the concept.

A firewall controls traffic according to rules. Reading a rule is easier when you turn it into a sentence: allow this source to reach that destination using this protocol and port.

Identify both ends

The source starts the conversation; the destination receives it. Decide which systems actually need to communicate.

Name the service

A network port is a numbered communication endpoint, not a physical socket. A rule can distinguish traffic by protocol and port.

Keep the permission specific

A broad rule can permit unnecessary connections. Allow the required flow, document its purpose, and review it when the application changes.

Field example04 / A

Put it in context

A fictional app server at 192.0.2.10 needs to reach its database at 192.0.2.20 on TCP port 5432. A rule allowing that exact flow is narrower than allowing every source to every database port. These addresses are examples, not systems to connect to.

SEE THE IDEA

Read the rule across the row

Fictional application and database addresses; not targets to connect to.

Read the rule across the row
Rule fieldExample valueMeaning
Source192.0.2.10The app server
Destination192.0.2.20The database
Protocol / portTCP / 5432The required database service
ActionAllowPermit this specific flow
Sentence: allow the app server to reach the database using TCP port 5432. Other traffic still follows the rest of the policy.
Read the visualWhy not allow every source on every port?

That grants more network access than the stated task requires. Keep both endpoints and the service specific.

Make a decision.

Use what you just learned. A correct answer lets you save this lesson to your progress.

Take this with you.

Read the source, destination, protocol, port, and action together.

Follow it in Packet Journey

Watch a request cross a 3D network, then fix five network problems. A free ten-minute activity with a diagram view.

Play Packet Journey →
Read the original sources
YOUR LEARNING SPACE