标签:os 文件 art ar linux new table dp
开启: chkconfig iptables on
关闭: chkconfig iptables off
开启: service iptables start
关闭: service iptables stop
修改/etc/sysconfig/iptables 文件,添加以下内容:
-A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 80 -j ACCEPT
-A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 22 -j ACCEPT
chkconfig –level 2345 iptables off
标签:os 文件 art ar linux new table dp
原文地址:http://my.oschina.net/shanhe/blog/296927