Skip to main content

Cornelis Technical Documentation

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

status

Displays the current configuration for the firewall.

enable

Enables 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 allow or you will be removed from the connection due to SSH being blocked.

disable

Disables the firewall. All traffic is allowed.

allow

Permits the specified application to pass through the firewall when the firewall is enabled.

block

Blocks the specified application when the firewall is enabled.

<APP>

Specifies the application that is allowed or blocked through the firewall.

  • HTTP

  • HTTPS

  • SNMP

  • SNMP_AGENT

  • SSH

Examples

firewall status
firewall enable
firewall disable
firewall allow HTTP
firewall block SSH