A firewall can prevent communication between the cluster hosts.
A firewall can be set up at the perimeter of the cluster to restrict network access to the cluster hosts. This configuration does not prevent communication between the cluster hosts.
If your security plan requires a firewall on the host operating system or between hosts, see the firewall configuration guidelines in the product documentation.