Tag: centos
-
centos6.2基本iptables模版
vim /etc/sysconfig/iptables # Generated by iptables-save v1.4.7 on Mon Mar 26 09:52:21 2012 *filter :INPUT ACCEPT [0:0] :FORWARD DROP [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -m state –state ESTABLISHED,RELATED -j ACCEPT -A INPUT -p icmp -j ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -m state –state NEW -m tcp -p tcp –dport 22…