CentOS7防火牆firewalld設置

添加80端口  重啓後永久生效html

firewall-cmd --zone=public --add-port=80/tcp --permanent   

查看防火牆狀態tcp

systemctl status firewalld.service  

啓動防火牆rest

systemctl start firewalld.service  

關閉防火牆code

systemctl stop firewalld.service  

重啓防火牆htm

systemctl restart firewalld.service  

禁用防火牆 、 禁止防火牆開機啓動blog

systemctl disable firewalld.service   

查看更多  https://www.zhaokeli.com/Article/6321.html get

相關文章
相關標籤/搜索