With firewall-cmd Does Adding a Port Allow or Block Connectivity?

Problem scenario
You want to run some firewall-cmd commands. You see the flag --add-port. Will it allow or block the given TCP/UDP port?

Answer
It will allow connectivity on the port.

Leave a comment

Your email address will not be published. Required fields are marked *