--- title: "Create a Firewall rule" slug: "create-a-firewall-rule-11" tags: ["Product Usage", "Endpoint Security (ENS)", "ENS 10.7.x", "ENS-TP 10.7.x"] updated: 2026-10-07T18:10:20Z published: 2026-10-07T18:10:20Z canonical: "docs.trellix.com/create-a-firewall-rule-11" --- > ## 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(12).png?sv=2026-02-06&spr=https&st=2026-11-18T05%3A40%3A28Z&se=2026-11-18T06%3A40%3A28Z&sr=b&sp=r&sig=DiVgG7eX9n9fqoEWBhRsujsoit1I9z7rZTujd3%2BgF5k%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(9).png?sv=2026-02-06&spr=https&st=2026-11-18T05%3A40%3A28Z&se=2026-11-18T06%3A40%3A28Z&sr=b&sp=r&sig=%2F3ZZ%2FrLamTYVCbDu5lAy6XzbC6kTzt3ysvxDqY%2Fkx8U%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(6).gif?sv=2026-02-06&spr=https&st=2026-11-18T05%3A40%3A28Z&se=2026-11-18T06%3A40%3A28Z&sr=b&sp=r&sig=ejDR4cNpxVsq9Bc2N8mTn8%2Bt5XWqB%2BR6fYKyT7XRME0%3D) in the bottom left corner of the console to open the rule page. ![GUID-ECBA1750-5D2A-44AC-84B7-596AE74E66E3-low.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-6f5de765-bfcb-d741-40af-2e1fa5ed3238(2).png?sv=2026-02-06&spr=https&st=2026-11-18T05%3A40%3A28Z&se=2026-11-18T06%3A40%3A28Z&sr=b&sp=r&sig=FzzoCIjGHu%2FBO0b1klJie74j1u6xBYOtF0hjpHWesQE%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 IPv4** | 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 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 Address** > [!TIP] > Tip > > Remote system is the system you want to connect. > [!NOTE] > Note > > Use to add more criteria and 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 to add more criteria and 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. Click to prevent further changes. > [!NOTE] > Note > > To edit an existing Firewall rule, select the rule, then click to open the rule page.