Disabling the Firewall

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

  1. For iptables, save the existing rule set:
    • sudo iptables-save > ~/firewall.rules
  2. Disable the firewall:
    • RHEL 7 compatible:
      sudo systemctl disable firewalld
      sudo systemctl stop firewalld
    • RHEL 6 compatible:
      sudo chkconfig iptables off
      sudo service iptables stop
    • SLES:
      sudo chkconfig SuSEfirewall2_setup off
      sudo chkconfig SuSEfirewall2_init off
      sudo rcSuSEfirewall2 stop
    • Ubuntu:
      sudo service ufw stop