2. Policies

Firewall rules are not something to be made up arbitrarily, but are instead the result of a set of policies. These are the policies that we shall be implementing in this lab:

In order to begin implementing these policies, you need to at least know how to match each type of traffic. As a reminder, here is how you match each type of application’s traffic. I suggest you look through /etc/services and find out what the service name is for each port.

You should begin by annotating the network diagram with each service’s location and where it should be allowed from. Make sure you understand how each type of traffic will cross the router (ie. does it go through the router, from one interface to another, or is it addressed to the router, or is the traffic coming originating from the router.

For each flow of traffic, decide whether each direction of the firewall should have an allow-by-default or drop-by-default policy.