Skip to content

img0

Firewall configuration

Note

During Node operations all IP addresses from new nodes get added temporarily on the installer node, to a “trusted” IPset to allow the node to be bootstrapped (Puppet -> SALT)
A first SALT run on new nodes will update and apply all Firewalls throughout the Cluster dynamically (SALT mine data)


Check The Firewall

Instructions

  1. Firewall is enabled by default
  2. To confirm the firewall is running
    hsctl config get firewall.enabled
    
    1.Now let us check the firewalld process - to make the line wrap we need to use --no-pager --full to the command
    systemctl status firewalld --no-pager --full
    

Note

The firewalld service is disabled, so what service is running for the firewall?


Instructions

  1. HyperStore uses cloudian-firewalld so let us check that this process is running
    systemctl status cloudian-firewalld --no-pager --full
    

Disabling the Firewall

Note

If you need to disable the firewall, it is not sufficient enough to just stop the cloudian-firewalld service.
Salt will re-enable the service


Instructions

  1. To disable the firewall we must use hsctl
    hsctl config set firewall.enabled=False
    hsctl config apply firewall
    
  2. Once complete, check the status of the cloudian-firewalld service
    systemctl status cloudian-firewalld --no-pager --full
    

Enabling the Firewall

Instructions

  1. To enable the firewall we must also use hsctl
    hsctl config set firewall.enabled=True
    hsctl config apply firewall
    
  2. Once complete, check the status of the cloudian-firewalld service
    systemctl status cloudian-firewalld --no-pager --full
    

Firewall changes using cloudianInstall.sh

Instructions

  1. It is also possible to enable and disable the firewall through the installer menu
  2. Run cloudianInstall.sh from the cluster staging directory on the puppet master
  3. Select Advanced Configuration
  4. Select s to configure firewall
  5. Select a to enable or disable the cloudian firewall
  6. Notice, you can also allow/deny specific access to each service
  7. It is currently not possible to configure custom firewall ports