Change Host Firewall State

Using the Networking page, Cockpit administrators can enable or disable the firewall state on the host system.

Note:

By default, the firewall management service (firewalld) is enabled on the host system. When this service is enabled, all incoming network traffic is blocked with the exception where firewall zoning rules are set to enable incoming traffic for services and their ports.

For more information about a zone-based firewall implementation and the firewall management service in Oracle Linux, see Oracle Linux 8: Configuring the Firewall or Oracle Linux 9: Configuring the Firewall.

What Do You Need?

Steps

Using the Cockpit web console, follow these steps to enable or disable the firewall management service (firewalld) state on the host system.

  1. In the Cockpit navigation pane, click Networking.

    The Networking page appears.

  2. In the Firewall panel of the Networking page, find the Firewall (Enabled|Disabled) toggle switch and then perform one of the following:
    • To disable the firewald service – Click the Firewall Enabled toggle switch.
    • To enable the firewald service – Click the Firewall Disabled toggle switch.