Disabling the Firewall

To disable the firewall on each host in your cluster, perform the following steps on each host.

  1. If the iptables command is not installed on your system, then install it by running the following command:
    • RHEL:
      sudo yum install iptables
    • SLES:
      sudo zypper install iptables
    • Ubuntu:
      sudo apt-get install iptables
  2. For iptables, save the existing rule set:
    sudo iptables-save > ~/firewall.rules
  3. Disable the firewall:
    • RHEL 7 compatible:
      sudo systemctl disable firewalld
      sudo systemctl stop firewalld