码迷,mamicode.com
首页 > 其他好文 > 详细

Centos 6.3防火墙端口放行

时间:2017-02-13 20:05:51      阅读:146      评论:0      收藏:0      [点我收藏+]

标签:blog   inpu   res   tab   sysconfig   service   input   start   rest   

1 vi /etc/sysconfig/iptables
2 #防火墙增加
3 -A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
4 service iptables restart

Centos 6.3防火墙端口放行

标签:blog   inpu   res   tab   sysconfig   service   input   start   rest   

原文地址:http://www.cnblogs.com/SapphireCastle/p/6394992.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!