firewalld Configuration Tools

You can configure the firewall by using one of the following tools:

  • By using the firewall-cmd command and its several options.

  • By using the Firewall Configuration GUI

    To use this tool you must install the firewall-config package first, then start it by using the same command as the package name, for example:

    sudo dnf install firewall-config
    sudo firewall-config &

    The command opens the configuration tool, as shown in the following figure:

    Figure 2-1 Firewall Configuration


    The figure shows the Firewall Configuration GUI.
  • Cockpit is a browser-based configuration tool that you can also use to perform firewall configurations. See Oracle Linux: Using the Cockpit Web Console.