quick-docs/en-US/modules/proc_enabling_firewalld.adoc

81 lines
2.7 KiB
Text

// Module included in the following assemblies:
//
// <List assemblies here, each on a new line>
// Base the file name and the ID on the module title. For example:
// * file name: doing-procedure-a.adoc
// * ID: [id='doing-procedure-a']
// * Title: = Doing procedure A
// The ID is used as an anchor for linking to the module. Avoid changing it after the module has been published to ensure existing links are not broken.
[id='doing-one-procedure_{context}']
// The `context` attribute enables module reuse. Every module's ID includes {context}, which ensures that the module has a unique ID even if it is reused multiple times in a guide.
= Doing one procedure
// Start the title of a procedure module with a verb, such as Creating or Create. See also _Wording of headings_ in _The IBM Style Guide_.
This paragraph is the procedure module introduction: a short description of the procedure.
.Prerequisites
* A bulleted list of conditions that must be satisfied before the user starts following this assembly.
* You can also link to other modules or assemblies the user must follow before starting this assembly.
* Delete the section title and bullets if the assembly has no prerequisites.
.Procedure
. Start each step with an active verb.
. Include one command or action per step.
. Use an unnumbered bullet (*) if the procedure includes only one step.
.Additional resources
* A bulleted list of links to other material closely related to the contents of the procedure module.
* For more details on writing procedure modules, see the link:https://github.com/redhat-documentation/modular-docs#modular-documentation-reference-guide[Modular Documentation Reference Guide].
* Use a consistent system for file names, IDs, and titles. For tips, see _Anchor Names and File Names_ in link:https://github.com/redhat-documentation/modular-docs#modular-documentation-reference-guide[Modular Documentation Reference Guide].
== Do I have FirewallD on my system?
FirewallD is the default firewall service for current releases of Fedora and is enabled by default.
If you are not sure whether FirewallD is on your Fedora installation use the following commands to check.
. Check if your system has FirewallD enabled.
Enter the folowing on the command line:
[source,bash]
----
sudo firewall-cmd --state
----
You will see `running` if FirewallD is on your system.
If you see `not running`, then FirewallD is not on your system. Use these commands to install it:
. Install FirewallD:
[source,bash]
----
sudo dnf install firewalld
----
. Install the FirewallD graphical-user-interface application and open it from the command-line, type:
[source,bash]
----
sudo dnf install firewall-config
sudo firewall-config
----