I want to add exclusion in firewalld rules for traffic which comes from host 192.168.1.2 where source port is 54921. I tried with:
firewall-cmd --zone=public --add-rich-rule=‘rule family=“ipv4” source address=“192.168.1.2” source port protocol=“tcp” port=“54921” accept’
But I’ve got error:
Error INVALID_RULE more than one source element
Besides where I can find documentation with examples and explanations how to use firewalld?