The OneFS host-based firewall is disabled by default for brownfield and greenfield clusters running OneFS Release 9.5.0.0. An administrator with the ISI_PRIV_FIREWALL privilege can enable the feature. By default, the ISI_PRIV_FIREWALL privilege is assigned to SystemAdmin with write permission and to AuditAdmin with read permission.
Note: As a best practice, rather than creating a new firewall policy from scratch, it is recommended to use the default policies as a baseline of threat protection for OneFS services. An option to clone policies is available. When the default policy is cloned, administrators can add additional rules specific to the environment. Also note that changes made to a firewall policy take place immediately. To avoid accidental misconfigurations, it is advised always to make changes by cloning a firewall policy, editing the cloned policy, then reconfiguring pools to the new policy.
Both the CLI and WebUI support the configuration for the OneFS host-based firewall. See the appropriate following section for the configuration steps.
You can configure the OneFS host-based firewall in the CLI by using the isi network firewall commands. List the current firewall settings by using the isi network firewall settings view command.
Note: Enabling the firewall automatically applies the default firewall policies. As explained in the Architecture section, the default firewall policies enforce the port numbers and protocols required for OneFS services, as listed in the Security Configuration Guide, found under the respective OneFS software release at OneFS Info Hubs. Before enabling the firewall, ensure that the default port numbers and protocols do not conflict with any custom port or protocol configuration.
Enable the OneFS host-based firewall with the isi network firewall settings modify --enabled true command. To create a firewall policy and rules, do the following:
To prevent accidentally modifying active firewall policies and rules, the CLI requires a --live parameter to be specified when modifying an in-use firewall policy or rule. (Providing the --live parameter when modifying an inactive firewall policy or rule is considered an error.)
The WebUI configuration for the host-based firewall is located under Cluster Management > Firewall Configuration, as shown here.
Figure 31. WebUI firewall configuration
If the firewall is not yet configured, a banner directs the user to the “Settings” tab.
Note: Enabling the firewall automatically applies the default firewall policies. As explained in the Architecture section, the default firewall policies enforce the port numbers and protocols required for OneFS services, as listed in the Security Configuration Guide, found under the respective OneFS software release at OneFS Info Hubs. Before enabling the firewall, ensure that the default port numbers and protocols do not conflict with any custom port or protocol configuration.
To enable the firewall, navigate to the Settings tab and enable the “Firewall policies on the cluster” toggle as shown in the following figure.
Figure 32. Enabling firewall
To create a firewall policy and rules, do the following:
Figure 33. Clone Policy window
Figure 34. Add Rule window
Figure 35. Firewall policy to pool assignment
To troubleshoot the firewall feature, more information is available in the following logs: