I'm on a red hat 7 machine, and I need to open all ports to a specific IP on the firewall.
I tried this command:
firewall-cmd --permanent --zone=public --add-rich-rule=' rule family="ipv4" source address="220.127.116.11/20" port protocol="tcp" port="*" accept'
But I'm getting an invalid port error for the *
Does anyone know and can tell me how to do this correctly?