diff --git a/src/rhcsa.md b/src/rhcsa.md index 579ef22..5687c80 100644 --- a/src/rhcsa.md +++ b/src/rhcsa.md @@ -735,5 +735,16 @@ sudo umount /mnt/iso # Unmount the ISO image ### dnf config-manager sudo dnf config-manager --add-repo="file:///path/to/repo/AppStream" # Add a repository +sudo dnf config-manager --add-repo="file:///path/to/repo/BaseOS" # Add a repository + +sudo dnf repolist # List all repositories ``` +## Understand and Configure Firewalls + +### firewall-cmd +```bash +sudo firewall-cmd --get-active-zones # Display the active zones +sudo firewall-cmd --get-default-zone # Display the default zone +sudo firewall-cmd --get-zones # Display the zones +``` \ No newline at end of file