1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-07 00:48:01 +01:00
Files
openshift-docs/modules/microshift-firewall-verify-settings.adoc
2023-10-30 10:13:25 -04:00

26 lines
674 B
Plaintext

// Module included in the following assemblies:
//
// * microshift_networking/microshift-firewall.adoc
:_mod-docs-content-type: PROCEDURE
[id="microshift-firewall-verifying-settings_{context}"]
= Verifying firewall settings
After you have restarted the firewall, you can verify your settings by listing them.
.Procedure
* To verify rules added in the default public zone, such as ports-related rules, run the following command:
+
[source,terminal]
----
$ sudo firewall-cmd --list-all
----
* To verify rules added in the trusted zone, such as IP-range related rules, run the following command:
+
[source,terminal]
----
$ sudo firewall-cmd --zone=trusted --list-all
----