# Ensure the default outbound policy of Linode Cloud Firewalls is set to DROP

- Source: https://support.icompaas.com/support/solutions/articles/a_1795612583769733-ensure-the-default-outbound-policy-of-linode-cloud-firewalls-is-set-to-drop
- 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 the default outbound policy of every Linode Cloud Firewall is set to DROP. The default policy decides what happens to outbound traffic that does not match any rule. With DROP, only traffic that is explicitly allowed by a rule is permitted. Each firewall is evaluated separately.

**Rationale**

With an outbound policy of ACCEPT, a compromised Linode can connect to any destination on the internet. Attackers use this to download more malware, connect to command-and-control servers and send stolen data out. A default-deny (DROP) outbound policy limits outgoing connections to approved destinations only.

**Impact**

-   After the change, all outbound traffic that is not allowed by a rule is blocked
    
-   Common outbound traffic must be allowed with rules first, for example DNS (TCP/UDP 53), NTP (UDP 123), package updates (TCP 80/443) and any external APIs or databases the applications use. Otherwise updates, time sync and application calls will fail
    
-   Outbound rules apply to Linodes only, not to NodeBalancers
    
-   The change applies at once to all Linodes attached to the firewall
    

**Default Value**

When a new Cloud Firewall is created in Cloud Manager, the **Default Outbound Policy** is **Accept**, so this check fails for new firewalls until the policy is changed.

**Pre-Requisites**

-   A Cloud Manager user with read/write access to the firewall
    
-   A list of the outbound traffic the Linodes need (protocols, ports and destination IP addresses), so allow rules can be added before switching to DROP
    
-   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 **Outbound Policy** dropdown. If it shows **Accept**, the firewall fails.
    
4.  Repeat for each firewall.
    

**CLI:**

Set the token:

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

List every firewall with its default outbound policy:

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

A firewall passes if outbound\_policy is "DROP" and fails if it is "ACCEPT".

**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, review the outbound rules. For each type of traffic the Linodes need, click **Add An Outbound Rule**, fill in **Label**, **Protocol**, **Ports**, **Destinations** and set **Action** to **Accept**, then click **Add Rule**.
    
4.  Set the **Outbound Policy** dropdown to **Drop**.
    
5.  Click **Save Changes**.
    
6.  Test that the applications on the attached Linodes still work.
    
7.  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, set the **Outbound Policy** dropdown back to **Accept**.
    
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.
