---
schema_version: "1"
id: 3b26d2849a9468af7a14c462cb618f0c1fb83e0786dc604a93a08fef8ba54a60
title: Replace eCDN Firewall Rules with new eCDN Custom Rules
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/b2c_rn_replace_ecdn_firewall_rules.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.b2c_rn_replace_ecdn_firewall_rules.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 2eeb6586ef0d958633f5e097cb233359077cbeffca99e0d3b7861ec031c1d3e8
description: Commerce Cloud B2C Commerce has migrated all existing firewall rules to a new custom rules CDN-API endpoint. All customers are directed to transition to using custom rules in place of firewall rules.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Replace eCDN Firewall Rules with new eCDN Custom Rules

Commerce Cloud B2C Commerce has migrated all existing firewall rules to a new custom rules CDN-API endpoint. All customers are directed to transition to using custom rules in place of firewall rules.

**When:** Complete the transition to eCDN custom rules in place of firewall rules before February 1, 2024. Firewall rules will be deprecated on February 6, 2024.

**Why:** Custom rules allow you to control incoming traffic by setting up firewall policies based on various request parameters. These API endpoints expand on the existing functionality of firewall rules. With custom rules, you have complete control over the rule expression. We’ve also extended the list of allowed request field types and rule actions, which offer increased flexibility and allow you to create expressions that match your specific traffic needs.

The deprecated endpoints include:

- [Create firewall rule](https://developer.salesforce.com/docs/commerce/commerce-api/references/cdn-api-process-apis?meta=createFirewallRule)
- [Update firewall rule](https://developer.salesforce.com/docs/commerce/commerce-api/references/cdn-api-process-apis?meta=updateFirewallRule)
- [Get firewall rules](https://developer.salesforce.com/docs/commerce/commerce-api/references/cdn-api-process-apis?meta=getFirewallRules)
- [Delete firewall rule](https://developer.salesforce.com/docs/commerce/commerce-api/references/cdn-api-process-apis?meta=deleteFirewallRule)

#### See Also

- [eCDN Custom Rules](https://developer.salesforce.com/docs/commerce/commerce-api/guide/cdn-zones-custom-rules.html)