// 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

[role="_abstract"]
After you have restarted the firewall, you can verify your settings by listing them with the `firewall-cmd` command.

.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
----
