mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-07 00:48:01 +01:00
26 lines
569 B
Plaintext
26 lines
569 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * microshift_networking/microshift-firewall.adoc
|
|
|
|
:_content-type: PROCEDURE
|
|
[id="microshift-firewall-install_{context}"]
|
|
= Installing the firewalld service
|
|
|
|
Use the following procedure to install and run the `firewalld` service for {product-title}.
|
|
|
|
.Procedure
|
|
|
|
. To install the `firewalld` service, run the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ sudo dnf install -y firewalld
|
|
----
|
|
|
|
. To initiate the firewall, run the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ sudo systemctl enable firewalld --now
|
|
----
|