Centos防火墙设置

yum install firewalld systemd -y

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

firewall-cmd --reload

systemctl restart firewalld

http://www.cnblogs.com/wishwzp/p/7113403.html

http://www.cnblogs.com/ants/p/5732337.html

http://www.cnblogs.com/onephp/p/6245902.html

https://segmentfault.com/a/1190000010763523

 

posted @ 2017-10-13 14:24  weisp  阅读(161)  评论(0编辑  收藏  举报