# Ensure outbound rules are configured for Linode Cloud Firewalls

- Source: https://support.icompaas.com/support/solutions/articles/a_1795612584500321-ensure-outbound-rules-are-configured-for-linode-cloud-firewalls
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [Linode Cloud](https://support.icompaas.com/support/solutions/c_1795612201673188) › [Linode Checks](https://support.icompaas.com/support/solutions/folders/f_1795612218858606)
- Last updated: 2026-11-25
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

**Description**

This check ensures that every Linode Cloud Firewall has at least one explicit outbound rule. Defined outbound rules state which traffic is allowed or blocked (protocols, ports and addresses) instead of relying only on the firewall's default outbound policy. Each firewall is evaluated separately.

**Rationale**

A firewall with no outbound rules depends entirely on its default outbound policy. If the policy is ACCEPT, a compromised Linode can connect anywhere; if it is DROP, required outbound connections such as updates and DNS are blocked. Explicit outbound rules document which destinations the Linodes are allowed to reach, which makes the firewall easier to review and audit.

**Impact**

-   Rules take effect only after **Save Changes** is clicked, and then apply at once to all attached devices
    
-   A wrong rule can block required traffic or open a port to the internet. Review each rule before saving
    
-   This check only counts the rules. A firewall with any outbound rule passes, even if the rule is too open, so the rules must still be reviewed for least privilege
    

**Default Value**

A new Cloud Firewall created as a **Custom Firewall** has no rules. A firewall created **From a Template** contains the rules of that template.

**Pre-Requisites**

-   A Cloud Manager user with read/write access to the firewall
    
-   A list of the outbound traffic that must be allowed or blocked (protocol, ports, Destinations)
    
-   For the CLI test plan: a Personal Access Token created by an unrestricted user with **Firewalls: Read Only** scope
    

**Remediation**

**Test Plan**

**Console:**

1.  Sign in to Cloud Manager at [https://cloud.linode.com](https://cloud.linode.com/).
    
2.  In the sidebar, under **Networking**, click **Firewalls** and select the firewall.
    
3.  On the **Rules** page, check the list of outbound rules. If no outbound rule is listed, the firewall fails.
    
4.  Repeat for each firewall.
    

**CLI:**

Set the token:

export LINODE\_TOKEN="<your-personal-access-token>"

List every firewall with the number of outbound rules:

curl -s -H "Authorization: Bearer $LINODE\_TOKEN" "https://api.linode.com/v4/networking/firewalls?page\_size=500" | jq '.data\[\] | {id, label, outbound\_rules\_count: (.rules.outbound | length), outbound\_rules: \[.rules.outbound\[\] | {label, action, protocol, ports}\]}'

A firewall passes if outbound\_rules\_count is 1 or more and fails if it is 0.

**Implementation Steps**

**Console:**

1.  Sign in to Cloud Manager at [https://cloud.linode.com](https://cloud.linode.com/).
    
2.  In the sidebar, under **Networking**, click **Firewalls** and select the firewall that failed the check.
    
3.  On the **Rules** page, click **Add An Outbound Rule**.
    
4.  Fill in the rule:
    
    -   **Label**: a short name, for example allow-dns-out,
        
    -   **Protocol**: TCP, UDP or ICMP,
        
    -   **Ports**: the port or ports (not used for ICMP),
        
    -   **Destinations**: only the addresses that need access, not all IPs where possible,
        
    -   **Action**: Accept or Drop.
        
5.  Click **Add Rule**.
    
6.  Add any other rules needed and drag them into the right order (rules are applied from top to bottom).
    
7.  Click **Save Changes**.
    
8.  Repeat for each firewall that failed the check.
    

**Backout Plan**

1.  Sign in to Cloud Manager at [https://cloud.linode.com](https://cloud.linode.com/).
    
2.  In the sidebar, under **Networking**, click **Firewalls** and select the firewall.
    
3.  On the **Rules** page, click **Delete** next to the rule that was added.
    
4.  Click **Save Changes**.
    

**Reference**

-   [https://techdocs.akamai.com/cloud-computing/docs/manage-firewall-rules](https://techdocs.akamai.com/cloud-computing/docs/manage-firewall-rules)
    
-   [https://techdocs.akamai.com/cloud-computing/docs/create-a-cloud-firewall](https://techdocs.akamai.com/cloud-computing/docs/create-a-cloud-firewall)

## 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.
