Note: Firewall is used by default in centos7. If you want to save the rules with the above command, you need to install iptables-services. Please review the above for the specific configuration process.< div id= "showcount" >