--- title: "Create a Firewall rule" slug: "create-a-firewall-rule-9" tags: ["Product Usage", "Endpoint Security (ENS)", "ENS 10.7.x"] updated: 2026-10-07T17:43:53Z published: 2026-10-07T17:43:53Z canonical: "docs.trellix.com/create-a-firewall-rule-9" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Create a Firewall rule Create firewall rules to handle the network traffic according to your requirements. 1. Click the Trellix menulet ![GUID-9BE2692D-7F54-44CB-AE3B-3D141955024E-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-98c789c6-8a88-6a4d-6820-20224b56ed0a(8).png?sv=2026-02-06&spr=https&st=2026-11-19T04%3A28%3A59Z&se=2026-11-19T05%3A28%3A59Z&sr=b&sp=r&sig=tHW3m8G405E0GGmCJXdxMu1383f5uIStU72ruMjm12o%3D) on the status bar, then select **Preferences**. 2. Click **Firewall**. 3. Click ![GUID-8CC2C84C-B44D-4B10-A920-D4E503DB9CC1-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-63a0a10e-f9de-98fd-8841-5e69a46827ab(6).png?sv=2026-02-06&spr=https&st=2026-11-19T04%3A28%3A59Z&se=2026-11-19T05%3A28%3A59Z&sr=b&sp=r&sig=KLzo53Lh9emAWhPU6mRVspPnmLY1D416s%2BEPOqBpTVs%3D), type the administrator password, then click **OK**. 4. Select **Regular Mode**. 5. Click ![GUID-213AEF71-3D9B-4242-AB47-3B513C7B845E-low.gif](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-0cce8f86-7288-e4ca-a212-8f93a601b75f(4).gif?sv=2026-02-06&spr=https&st=2026-11-19T04%3A28%3A59Z&se=2026-11-19T05%3A28%3A59Z&sr=b&sp=r&sig=ji%2FAZ9xs2xjCReJQSHByB5BglQ8theeBroTQLM1BPxU%3D) in the bottom left corner of the console to open the rule page. ![Firewall_Rule.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-eae258ec-4ad2-4a80-25e1-f30a5aa9f359(1).png?sv=2026-02-06&spr=https&st=2026-11-19T04%3A28%3A59Z&se=2026-11-19T05%3A28%3A59Z&sr=b&sp=r&sig=L4ia%2BlPAkf%2FRGNKeQv%2F53%2FFF5U7Q2lUBDvNg1v8VyIE%3D) 6. Define the following parameters as needed, then click **OK**. | For this field... | Configure these options... | | --- | --- | | **Rule Name** | Type a name for the rule. | | **Status** | - **Enabled** — To enable the firewall rule. - **Disabled** — To disable the firewall rule. > [!NOTE] > Note > > The rules appear as grayed out in the rules list, when their status is set to **Disabled**. | | **Action** | - **Block** — To block the network traffic. - **Allow** — To allow the network traffic. | | **Direction** | - **Incoming** — To apply the rules for incoming network traffic. - **Outgoing** — To apply the rules for outgoing network traffic. | | **Logging** | - **Enabled** — To make an entry in the system log, when a network packet matches a rule. - **Disabled** — To avoid making an entry in the system log when the network packet matches a rule. > [!WARNING] > Caution > > Enabling the logging feature can impact the system performance. We recommend that you enable Logging only for troubleshooting and learning purpose. | | **Interface(s)** | - **Wired** - **Wireless** - **Virtual** | | **Network Protocol** | Define the configuration for **Local** Mac using: - **Single** - **Subnet** - **Local Subnet** - **Range** (of IP addresses) - **Fully Qualified Domain Name** - **Any local IP Address** - **Any IPv4 or IPv6 Address** > [!TIP] > Tip > > Local system is the system on which you are adding rules. Select the configuration for **Remote** system using: - **Single** - **Subnet** - **Local Subnet** - **Range** (of IP addresses) - **Fully Qualified Domain Name** - **Any local IP Address** - **Any IPv4 or IPv6 Address** > [!TIP] > Tip > > Remote system is the system you want to connect. > [!NOTE] > Note > > Use ![plus_icon.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-ee6b8d79-8e90-6b08-6297-9519f7d3c9c7(1).png?sv=2026-02-06&spr=https&st=2026-11-19T04%3A28%3A59Z&se=2026-11-19T05%3A28%3A59Z&sr=b&sp=r&sig=3FAf8vwaobplxZv3Ulddgy8v6GmK6jDJeOhiVaz4HpI%3D) to add more criteria and ![Minus_icon.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-dbd94a4e-aeeb-48d2-7a66-0ef262bbcbc6(1).png?sv=2026-02-06&spr=https&st=2026-11-19T04%3A28%3A59Z&se=2026-11-19T05%3A28%3A59Z&sr=b&sp=r&sig=7DnxivhpxAfZJjURLYC5eE4%2BNPKrn6DPvAsR%2BNXhWQM%3D) to remove existing criteria. | | **Transport Protocol** | Select **All Protocols** to apply the rule for all protocols. For **Select Protocol**, define the parameters for: - **TCP** - **UDP** - **ICMP** > [!NOTE] > Note > > Use ![plus_icon.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-ee6b8d79-8e90-6b08-6297-9519f7d3c9c7(1).png?sv=2026-02-06&spr=https&st=2026-11-19T04%3A28%3A59Z&se=2026-11-19T05%3A28%3A59Z&sr=b&sp=r&sig=3FAf8vwaobplxZv3Ulddgy8v6GmK6jDJeOhiVaz4HpI%3D) to add more criteria and ![Minus_icon.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-dbd94a4e-aeeb-48d2-7a66-0ef262bbcbc6(1).png?sv=2026-02-06&spr=https&st=2026-11-19T04%3A28%3A59Z&se=2026-11-19T05%3A28%3A59Z&sr=b&sp=r&sig=7DnxivhpxAfZJjURLYC5eE4%2BNPKrn6DPvAsR%2BNXhWQM%3D) to remove existing criteria. | > [!TIP] > Tip > > Add specific rules at the top of the list, and generic rules at the bottom to filter the traffic most efficiently. 7. In **Applications**, click **Browse**, select the application from the Applications directory, then click **Open**. > [!NOTE] > Note > > When you select a bundle, the product enumerates through the bundle and lists all Mach-O binaries, that are part of the bundle, in the rule. Wildcards are not supported in the application path and name. 8. Click ![Unlock_icon.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-a1cd4853-a3fe-ebdb-469c-634f62bdf8ec(1).png?sv=2026-02-06&spr=https&st=2026-11-19T04%3A28%3A59Z&se=2026-11-19T05%3A28%3A59Z&sr=b&sp=r&sig=nmji%2F5EtEFQvG4D6RbX9FvqhvtNYWmCxFR7vC%2BKfuyY%3D) to prevent further changes. > [!NOTE] > Note > > To edit an existing Firewall rule, select the rule, then click Edit to open the rule page.