In this case, use “rich rule” as below:
# firewall-cmd --permanent --zone=public --add-rich-rule='rule family="ipv4" source address="xxx.xxx.xxx.xxx" port port="xxxx" protocol="xxx" accept'
# firewall-cmd --reload
In this case, use “rich rule” as below:
# firewall-cmd --permanent --zone=public --add-rich-rule='rule family="ipv4" source address="xxx.xxx.xxx.xxx" port port="xxxx" protocol="xxx" accept'
# firewall-cmd --reload