---
title: Manage Firewall Rules
slug: litmusedge-v1/product-features/system/network/manage-firewall-rules
description: Learn how to manage firewall rules in Litmus Edge. 
docTags: 
createdAt: 2023-12-14T14:32:09.156Z
---

:::hint{type="info"}
**Note**: This feature is available for Litmus Edge version 3.11.0 and later.&#x20;
:::

You can manage firewall rules to open specific ports or port ranges for inbound communication by navigating to **System&#x20;**> **Network&#x20;**&#x61;nd clicking the **Firewall&#x20;**&#x74;ab.&#x20;

:::hint{type="info"}
**Notes**:&#x20;

- These firewall rules apply only to IPv4 traffic.&#x20;
- Only Admin users are able to add and edit firewall rules. See [Users](docId\:Tls9-yYfMMtuyr9lRmpPD) to learn more.&#x20;
:::

The **Firewall&#x20;**&#x70;ane allows you to do the following:

- Review what ports are being used by Litmus Edge system components, applications, and containers.&#x20;
- Ensure that any DeviceHub drivers and Docker container applications are not running on conflicting ports.&#x20;
- Open ports and port ranges with appropriate protocol (TCP/UDP) for Docker applications, containers, and DeviceHub drivers.
- Manage and close ports as needed.&#x20;

You can review any firewall changes in **System&#x20;**> **Events**.&#x20;

The pane shows a summary of what ports are currently open.&#x20;

![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/iNbLBGbFDdoudcacdIjsl_image.png "The Firewall pane")

# List of Reserved Ports

There are some ports that cannot be used for firewall rules because they are reserved for system services.&#x20;

Review the list of reserved ports.&#x20;

| **Reserved Port or Port Range** | **System Service that Uses Port(s)** |
| ------------------------------- | ------------------------------------ |
| 21                              | FTP                                  |
| 22                              | SSH                                  |
| 80                              | HTTP                                 |
| 123                             | NTP                                  |
| 389                             | LDAP                                 |
| 443                             | Litmus Edge Manager API              |
| 636                             | LDAP with SSL                        |
| 1880                            | Litmus Edge UI REST endpoint         |
| 2121                            | FTP                                  |
| 4840                            | OPC UA                               |
| 5353                            | mDNS                                 |
| 5355                            | LLMNR                                |
| 8081-8199                       | REST API endpoints                   |
| 9081-9199                       | gRPC API endpoints                   |
| 8883                            | MQTT to Litmus Edge Manager          |
| 51280                           | Litmus Edge Manager Remote Access    |

# Add Port Rule

1. Navigate to **System&#x20;**> **Network&#x20;**&#x61;nd click the **Firewall&#x20;**&#x74;ab.&#x20;
2. Click **Add Rule**.&#x20;
   The *Add Inbound Rule* dialog displays.&#x20;
   ::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/Rviq-YB7qxmjkIwJwXZi-_add-rule-button.png" size="80" width="1213" height="355" position="center" caption="Add Rule button" showCaption="true"}
3. Configure the parameters for the firewall rule.
   - **Port or Port Range**: Enter a single port number or a range of port numbers separated by a hyphen (-).&#x20;
   - **Protocol**: Select **TCP&#x20;**(transmission control protocol) or **UDP&#x20;**(user datagram protocol).&#x20;
   - **Interface**: Select **eth0&#x20;**&#x6F;r **eth1**.&#x20;
   - (**Optional) Service Name or Description**: Enter a name for the rule.&#x20;
4. Click **Add**.&#x20;
   The new rule displays on the pane.&#x20;

# Manage Port Rules

To manage port rules, click the **Action menu&#x20;**&#x66;or a rule.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/z1AtmW3ZhV4HQ42nCpu21_image.png" size="80" width="1436" height="591" position="center" caption="Firewall rule action menu" showCaption="true"}

- **Edit**: Update the rule.&#x20;
- **Delete**: Remove the rule and close the port or port range.&#x20;

