Scenario

The firewall has three zones. Fill the rule table so the policy below is enforced. Rules are checked from the top, the first match wins and anything not permitted is denied. The test flows show what your table does.

4.3 Security rules and zones1.4 Ports and protocols

Topology

OutsideFW1DMZLAN

Type ? for the commands you can use.

R1> show running-config

Network+ PBQ · about 8 min

Firewall rules for an office and its servers

Fill a six-row rule table so a written policy is enforced, and watch 16 test flows pass or fail as you build it.

This performance-based question is included in the Network+ plans and in the free trial.

Start the free trial Try the free VLAN lab Today's free lab

All labs

About this question

A small firewall has three zones: the Internet, a server zone with a file server, a DNS server and a web server, and the staff LAN. You fill a six-row rule table (source, destination, protocol, port, action). Rules are checked from the top, the first match wins and anything not permitted is denied. 16 test flows show at once what your table does.

About 8 minutes. Included in the Network+ plans and the free trial.

Questions about this exercise

Is my table the only right answer?

No. Any table whose result is right on all 16 flows scores full marks. The permit rows can be in any order. The row that denies everything has to come last, or it blocks everything below it.

Why do the deny flows only score after the permits pass?

An empty table denies everything, so it would collect every deny point for doing nothing. The deny flows count once all the permit flows pass.

Why is there a deny row at the end?

Most firewalls deny what no rule permits. Writing the deny row makes the intent visible and lets you log it.

Not affiliated with CompTIA. Network+ is a trademark of CompTIA, Inc. The scenarios, diagrams and rules here were written by CertAce.