Scenario

The firewall FW1 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, zones1.4 Ports and protocols

Topology

OutsideFW1DMZLAN

Type ? for the commands you can use.

R1> show running-config

Network+ PBQ · about 7 min

Write the firewall rules

Fill a six-row firewall rule table so a written policy is enforced, and watch 17 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

Firewall FW1 has three zones: the Internet, a screened subnet with a web and a mail 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. 17 test flows show at once what your table does. It practises Network+ objectives 4.3 (security rules, zones) and 1.4 (ports and protocols).

About 7 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 evaluation gives the expected result on all 17 flows scores full marks. Rows 1 to 5 are all permits and can be in any order. The "any, any, deny" row 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 the deny flows for free. To keep the score honest, the 10 deny flows count only once all 7 permit flows pass.

What does OUTSIDE mean in the table?

OUTSIDE is any address that is not in the LAN (10.20.0.0/16) or the screened subnet (172.16.50.0/24).

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