updated notes

This commit is contained in:
Hugh Ratsch
2025-02-18 20:39:07 -06:00
parent 8a547aeb11
commit 9be2627fa3
+3
View File
@@ -755,6 +755,9 @@ sudo firewall-cmd --set-default-zone=public # Set the default zone to public
### displaying the rules in the firewall ### displaying the rules in the firewall
sudo firewall-cmd --list-all # Display all the rules in the firewall sudo firewall-cmd --list-all # Display all the rules in the firewall
sudo firewall-cmd --list-services --zone=public # Display the services in the public zone
sudo firewall-cmd --list-ports --zone=public # Display the ports in the public zone
sudo firewall-cmd --list-protocols --zone=public # Display the protocols in the public zone
### adding rules to the firewall ### adding rules to the firewall
sudo firewall-cmd --zone=public --add-service=http --permanent # Add the http service to the public zone sudo firewall-cmd --zone=public --add-service=http --permanent # Add the http service to the public zone