centos7防火墙开放端口命令

例:
开放80端口:firewall-cmd –zone=public –add-port=80/tcp –permanent
重启:systemctl restart firewalld.service

发表回复