Name
firewall — Manages and controls the system firewall configuration. By default, all incoming and outgoing traffic is blocked. Exceptions can be created to allow or block traffic for specific applications.
Syntax
firewall [status] [enable | disable] [allow | block <APP>]
Options
statusDisplays the current configuration for the firewall.
enableEnables the firewall, retaining the allowed and blocked application configuration.
NOTE: If you are not connected to the BMC through a serial connection, you must set
firewall ssh allowor you will be removed from the connection due to SSH being blocked.disableDisables the firewall. All traffic is allowed.
allowPermits the specified application to pass through the firewall when the firewall is enabled.
blockBlocks the specified application when the firewall is enabled.
<APP>Specifies the application that is allowed or blocked through the firewall.
HTTPHTTPSSNMPSNMP_AGENTSSH
Examples
firewall status firewall enable firewall disable firewall allow HTTP firewall block SSH