---
schema_version: "1"
id: 5219787bc5d71e951422055bba09f8115eee62e567a83c522b0393235f4c918f
title: Enabling Forwarding When Using firewalld
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/runtime-fabric/2.11/prereq-firewalld-forwarding.md
canonical_url: https://docs.mulesoft.com/runtime-fabric/2.11/prereq-firewalld-forwarding
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 6389f17cb7cb82c4adb7c2f09c33ae19c211937650ad49541848a343abc25dfa
description: MuleSoft Documentation Site
release: "2.11"
latest: false
---
---
product: Runtime Fabric
version: 2.11
---

# Enabling Forwarding When Using firewalld

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

`firewalld` is an iptables controller that defines rules for persistent network traffic. If you are
using `firewalld` with a Red Hat Enterprise Linux (RHEL) 7.x operating system, you must enable
forwarding on the docker0 device. You must also forward any packets being sent from or to the
10.0.0.0/8 subnet.

## To Determine if You Are Using firewalld

To determine if your system is using firewalld, run this command:

```copy
systemctl status firewalld.service
```

If firewalld is installed, this command returns this:

```copy
$ sudo systemctl status firewalld.service
* firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:firewalld(1)
```

If \`firewalld is not installed, this command returns an error message.

## Enable Forwarding

To enable forwarding on the docker0 device, run these commands:

```copy
firewall-cmd --permanent --direct --add-rule ipv4 filter FORWARD 1 -o docker0 -j ACCEPT -m comment --comment "docker subnet"

firewall-cmd --permanent --direct --add-rule ipv4 filter FORWARD 1 -s 10.0.0.0/8 -j ACCEPT -m comment --comment "docker subnet"
```

To enable forwarding on the 10.0.0.0/8 subnet, run these commands:

```copy
firewall-cmd --permanent --direct --add-rule ipv4 filter INPUT 1 -s 10.0.0.0/8 -j ACCEPT -m comment --comment "docker subnet"

firewall-cmd --permanent --direct --add-rule ipv4 filter INPUT 1 -d 10.0.0.0/8 -j ACCEPT -m comment --comment "docker subnet"
```

## Verify Forwarding

To verify that forwarding rules are in place, run this command:

```copy
firewall-cmd --permanent --direct --get-all-rules
```

The output should look like this example:

ipv4 filter FORWARD 1 -o docker0 -j ACCEPT -m comment --comment 'docker subnet' ipv4 filter FORWARD
1 -s 10.0.0.0/8 -j ACCEPT -m comment --comment 'docker subnet' ipv4 filter INPUT 1 -s 10.0.0.0/8 -j
ACCEPT -m comment --comment 'docker subnet' ipv4 filter INPUT 1 -d 10.0.0.0/8 -j ACCEPT -m comment
--comment 'docker subnet'

> [!IMPORTANT] These rules are node level. This means you must run and verify them on every node,
> both controller and worker nodes, for Runtime Fabric to work correctly when firewalld is active.
