1、配置需要对外开启的端口 /sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT 2、保存防火墙配置(不用重启防火墙) /etc/rc.d/init.d/iptables save
CentOS6 防火墙配置
猜你喜欢
转载自yan578351314.iteye.com/blog/1575894
今日推荐
周排行