Home > Articles > Cisco

Basic Zone-Based Firewall Fundamentals

In order to truly understand the concept of a zone-based firewall and to configure it in such a way that would be the most useful for each specific application, some basic concepts must be considered and understood. In this article, Sean Wilkins focuses on these, basic zone-based firewall fundamental concepts, how to interpret them, and how to use them correctly for each specific application.
Like this article? We recommend

The first thing that must be understood when tasked with implementing a zone-based firewall is that its configuration differs from the traditional firewall (Context-Based Access Control or CBAC) configurations that were used in the past. In previous firewall configurations, each interface was individually configured with a specific firewall policy that worked in combination with an access-list. Traffic was inspected for specifically configured protocols and allowed based on the configuration. One of the main problems that people had with CBAC was that it required a large number of configuration commands to be entered onto each associated interface; this made configuration time consuming, and made minor modifications just as time consuming.

With a zone-based firewall solution, zones are created for each part of the network that required different access/traffic control policies. The most common configuration of these is to have private (inside), public (outside), and DMZ (“demilitarized” or neutral) zones. The private zone is for interfaces which route traffic towards the inside of the organizational network, the public zone is for interfaces with traffic going towards a public network (i.e. Internet) and the DMZ zone (if needed) is for interfaces with traffic going towards a DMZ (i.e. public web and mail servers). When configuring this configuration, interfaces on the router are only able to be part of one zone at a time. Of course, the number of zones is not restricted to this sample configuration.

In order to make sure the concept of zones is clear, the following examples will show some common zone designs. As stated above, the most configurations of zones are using public, private, and DMZ zones. Figure 1 shows an example of this configuration:

Figure 1 Basic Zone Example

Another common example is used when there are multiple administrative areas inside an organization. For example, in a university setting, there are devices which are used primarily for administration and devices which are used primarily for academics. In order to protect the administrative devices from the academic devices, separate zones can be created. An example of this zone configuration is shown in Figure 2:

Figure 2 University Zone Example

Now with a firm understanding of zones, let us look at how these different zones are connected together. When configuring access and policy between zones, zone-pairs are created to link one zone to another. These zone-pairs are unidirectional and are configured with a specific traffic policy that is used when traffic passes from the source zone to destination zone. If traffic must pass between two zones in both directions, then two separate zone-pairs must be configured. The number of different policy options is quite vast and will be covered in later configuration articles.

By default, all traffic which is traveling through the router, from any source or destination zone, is dropped. There are two exceptions to this default rule:

  • When traffic has a source and destination on interfaces in the same zone
  • When traffic is sourced or destined for the router itself

Using the first example from above, a zone-pair can be set up between the private and the public zones. In a situation like this, where in normal circumstances the public zone should never be able to directly contact a device on the private zone, another feature of zone-based firewall configuration can be used. In this situation, the private zone must have access to the public zone but not vice versa; zone-pairs, by default, will permit all return traffic. In this situation, only the configuration of one zone-pair is required; this is shown in Figure 3:

Figure 3 Common Zone-Pair Example

In a situation like shown in Figure 2 above, the configuration of two zone-pairs between the administrative and academic zones may be required if traffic is sourced and destined independently from both sides; this example is shown in Figure 4:

Figure 4 Two-Zone-Pair Example

The other exception to the default drop rule is when traffic is destined for the router itself; normally this is control and management plane traffic. By default, all traffic going to and from the router itself is passed. In order to control the traffic that is allowed directly into or out of the router, the system-defined self zone can be used. Figure 5 shows an example of a zone-pair between the private and self zones.

Figure 5 Self Zone Example

Another new feature is now available with the new IOS version 15.0(1)M (and later) software. Before the release of IOS version 15.0(1)M, all traffic that was sourced and destined on interfaces in the same zone would be passed, by default (as stated above). With the release of IOS version 15.0(1)M, it is now possible to create a zone pair with the source and destination zones being the same, this is called intrazone. When configured in this way, policies can be enabled on all traffic going between interfaces in the same zone. This extends the functionality of the firewall as it allows policy control not only between zones but also within zones themselves; of course the traffic would need to pass between zone interfaces on the firewall itself in order to be effective. An example of this functionality is shown in Figure 6.

Figure 6 Intrazone Zone-Pair Example

The last of the basic fundamentals that must be understood is how a zone-based firewall interacts with existing Access Control List (ACL). As ACLs are not used in the configuration of a zone-based firewall, it is important to note that when they do co-exist on an interface that is also configured as part of a zone, the ACL will always be considered before any of the zone-based firewall policies. The existing ACLs must be configured to allow some traffic through in order for the zone-based policy to be considered.

As the concept of a zone being used for firewall configuration is different from previous firewall alternatives, it is important to understand the basics in order to ensure that the devices requiring security are kept as secure as possible. It is also important for these devices to be able to communicate with required devices without being hindered by firewall policy. The zone-based firewall feature provides another tool to use to help in accomplishing these goals.

Pearson IT Certification Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Pearson IT Certification and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Pearson IT Certification products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.pearsonitcertification.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020