郁闷到家,centos7的firewall真烦,可能是自己没有掌握它的精髓,不断的出错
现在用iptables:
一下几部就可以搞定:
首先, # yum remove firewalld(卸载firewall)
yum install iptables-services(安装iptables)
systemctl start iptables(启动iptables)
systemctl status iptables(查看启动状态)
systemctl enable iptables(设置开机启动)
有关iptables的设置请看点击打开链接