# Ensure Network Interfaces Are Assigned to Appropriate Zones

- Source: https://support.icompaas.com/support/solutions/articles/62000235332-ensure-network-interfaces-are-assigned-to-appropriate-zones
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [CIS Amazon Linux 2 Benchmark v3.0.0](https://support.icompaas.com/support/solutions/62000112696) › [CIS Amazon Linux 2 Benchmarks](https://support.icompaas.com/support/solutions/folders/62000169265)
- Last updated: 2026-05-29
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

**Profile Applicability:** • Level 1

**Description:**  
 Firewalld uses zones to classify network interfaces based on trust levels, applying specific firewall rules accordingly. Correctly assigning network interfaces to appropriate zones ensures that the firewall enforces the right security policies, reducing exposure and risks.

**Rationale:** Proper assignment of interfaces to zones improves security posture by ensuring that network traffic is filtered according to the required level of trust and protection.

**Impact:** Pros:

-   Enhances network security through tailored firewall policies.  
    
-   Supports segmentation and access control.  
    

Cons:

-   Manual assignment may require administrative oversight and planning.  
    
-   Incorrect zone assignment can lead to connectivity issues.  
    

**Default Value:** Network interfaces may default to the public zone or others if not explicitly assigned.

**Pre-requisites:**

-   Root or sudo privileges to manage firewall and network interfaces.  
    

**Remediation:**

### **Test Plan:**

**Using Linux command line:**

1\. List active firewalld zones and associated interfaces:  

firewall-cmd --get-active-zones

2\. Verify network interfaces are assigned to intended zones per organizational policy.  
  
**Implementation Plan:**

**Using Linux command line:**

1\. Assign the interface to the correct zone:  

firewall-cmd --zone=<zone> --change-interface=<interface> --permanent

2\. Reload firewalld to apply changes:  

firewall-cmd --reload

3\. Confirm interface assignment:  

firewall-cmd --get-active-zones

### **Backout Plan:**

**Using Linux command line:**

1\. Revert interface assignment if necessary:  

firewall-cmd --zone=<previous-zone> --change-interface=<interface> --permanent

2\. Reload firewalld and confirm the change.  

**References:**

-   CIS Amazon Linux 2 Benchmark v3.0.0  
    
-   firewalld Documentation  
    
-   [NIST SP 800-53 Revision 5 - SC-7  
    ](https://csrc.nist.gov/publications/detail/sp/800-53/rev-5/final#sc-7)

## Related compliance guidance

- [SOC 2 compliance: a practical implementation guide for cloud-native SaaS teams](https://support.icompaas.com/compliance/soc-2-trust-services-criteria): Configuration checks like this one are the technical half of a SOC 2 / ISO 27001 programme — the guide shows where they fit, what else an auditor expects, and how to evidence them.
- [ISO/IEC 27001:2022 compliance: a practical implementation guide](https://support.icompaas.com/compliance/iso-27001-2022): ISO 27001 Annex A.8 (technological controls) is where cloud hardening evidence lands; the guide shows how to run the ISMS around it.
