How to open and close ports on RHEL 8 Linux - LinuxConfig.org

Firewalld is a powerful and yet simple to use tool to manage a firewall on RHEL 8 Server/Workstation. Firewalld allows to manage open or close ports using predefined services as well as open and close user custom ports.
This is a companion discussion topic for the original entry at https://linuxconfig.org/redhat-8-open-and-close-ports