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

:::hint{type="info"}
**Note**: This feature is available for Belden Horizon Data Operations version 3.7.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"}
**Note**: These firewall rules apply only to IPv4 traffic.&#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;

::Image[]{src="https://api.archbee.com/api/optimize/vAqK-046vdh4I0e1y9cfX/dVi_G3BPRiqgdfjpBc2zV_image.png" size="80" width="1209" height="507" position="center" caption="The Firewall pane" showCaption="true"}

# 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. From the *Network&#x20;*> *Firewall&#x20;*&#x70;ane, click **Add Rule**.&#x20;
   Th&#x65;*&#x20;Add Inbound Rule* dialog displays.&#x20;
2. In the **Port or Port Range** field, enter a single port number or a range of port numbers separated by a hyphen (-).&#x20;

   ::Image[]{src="https://api.archbee.com/api/optimize/vAqK-046vdh4I0e1y9cfX/Q5-eIt-wV_rCGkqvGehFT_bhdoadd-inbound-rule.png" size="60" width="494" height="428" position="center" caption="Port/Port range field" showCaption="true"}
3. In the **Protocol&#x20;**&#x66;ield, select either **TCP&#x20;**(transmission control protocol) or **UDP&#x20;**(user datagram protocol).&#x20;

   ::Image[]{src="https://api.archbee.com/api/optimize/vAqK-046vdh4I0e1y9cfX/Ysj1fBlFp_cfkV24BaSAW_bhdoprotocol.png" size="60" width="494" height="428" position="center" showCaption="false"}
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/vAqK-046vdh4I0e1y9cfX/A90XTUbL_Jv7mQEIFbmcW_image.png" size="80" width="1209" height="506" 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;

