Answers for "allow a port in centos 8 stackoverflow"

0

allow a port in centos 8 stackoverflow

# firewall-cmd --zone=public --add-port=61009/tcp --permanent
success
# firewall-cmd --reload
success
# iptables-save | grep 61009
-A IN_public_allow -p tcp -m tcp --dport 61009 -m conntrack --ctstate NEW -j ACCEPT
Posted by: Guest on October-07-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language