CentOsiptable配置

CentOsiptable配置
文件地址:/etc/sysconfig/ipconfig
#Generatedbyiptables-savev1.3.5onMonApr222:57:222012
*filterwww.2cto.com
:INPUTACCEPT[0:0]
:FORWARDACCEPT[0:0]
:OUTPUTACCEPT[5958:3482917]
-AINPUT-ilo-jACCEPT
-AINPUT-picmp-micmp--icmp-typeany-jACCEPT
-AINPUT-mstate--stateRELATED,ESTABLISHED-jACCEPT
-AINPUT-ptcp-mstate--stateNEW-mtcp--dport8080-jACCEPT
-AINPUT-ptcp-mstate--stateNEW-mtcp--dport8888-jACCEPT
-AINPUT-ptcp-mstate--stateNEW-mtcp--dport8081-jACCEPT
-AINPUT-ptcp-mstate--stateNEW-mtcp--dport8082-jACCEPT
-AINPUT-ptcp-mstate--stateNEW-mtcp--dport9001-jACCEPT
-AINPUT-ptcp-mstate--stateNEW-mtcp--dport3306-jACCEPT
-AINPUT-ptcp-mstate--stateNEW-mtcp--dport27017-jACCEPT
-AINPUT-pudp-mstate--stateNEW-mudp--dport27017-jACCEPT
www.2cto.com
-AINPUT-ptcp-mstate--stateNEW-mtcp--dport3306-jACCEPT
-AINPUT-ptcp-mstate--stateNEW-mtcp--dport3001-jACCEPT
-AINPUT-ptcp-mstate--stateNEW-mtcp--dport3690-jACCEPT
-AINPUT-pudp-mstate--stateNEW-mudp--dport3690-jACCEPT
-AINPUT-ptcp-mstate--stateNEW-mtcp--dport22-jACCEPT
-AINPUT-ptcp-mstate--stateNEW-mtcp--dport25-jACCEPT
-AINPUT-ptcp-mstate--stateNEW-mtcp--dport80-jACCEPT
-AINPUT-ptcp-mstate--stateNEW-mtcp--dport81-jACCEPT
-AINPUT-ptcp-mstate--stateNEW-mtcp--dport21-jACCEPT
-AINPUT-ptcp-mstate--stateNEW-mtcp--dport443-jACCEPT
-AINPUT-jREJECT--reject-withicmp-host-prohibited
COMMITwww.2cto.com
#CompletedonMonApr222:57:222012
重启生效:serviceiptablesrestart

本文名称:CentOsiptable配置
地址分享:http://scyanting.com/article/pgjhdg.html