Computer and IT knowledge - things to know
firewall-cmd could be used for example on linux centos or red hat
(1) remove old rule, that allows all source addresses (if there is such a rule)
firewall-cmd --zone=public --remove-port=8443/tcp --permanent
(2)
firewall-cmd --permanent --zone=public --add-rich-rule='rule family="ipv4" source address="172.20.4.69/32" port protocol="tcp" port="8443" accept'
(3)
firewall-cmd --reload
computer2know :: thank you for your visit :: have a nice day :: © 2024