---
title: Manage Firewall Rules
slug: bhdo/manage-firewall-rules
createdAt: 2023-07-24T15:44:25.732Z
---

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 [Access Control](docId\:JC2m9q6_HRz6t9lasWYDb) to learn more.&#x20;
:::

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

- Review what ports are being used by Belden Horizon Data Operations 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/vAqK-046vdh4I0e1y9cfX/nBT15NvWLaXqlcrZti7K-_image.png)

# 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                             | Belden Horizon Data Manager API                 |
| 636                             | LDAP with SSL                                   |
| 1880                            | Belden Horizon Data Operations 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 Belden Horizon Data Manager             |
| 51280                           | Belden Horizon Data Manager Remote Access       |

# Add Firewall Rule

**To add a firewall 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;

   ![](https://api.archbee.com/api/optimize/vAqK-046vdh4I0e1y9cfX/OaTG-C-jDPPFD6UF_NbHj_add-firewall-rule.png)
3. Configure the parameters for the firewall rule.
   1. **Port or Port Range**: Enter a single port number or a range of port numbers separated by a hyphen (-).&#x20;
   2. **Protocol**: Select either **TCP&#x20;**(transmission control protocol) or **UDP&#x20;**(user datagram protocol).&#x20;
   3. **Interface**: Select **eth0&#x20;**&#x6F;r **eth1**.&#x20;
   4. (**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;

![](https://api.archbee.com/api/optimize/vAqK-046vdh4I0e1y9cfX/BCyQOqfbcko5jCY_khA1i_image.png)

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

