Iptables防火墙规则错误,不知何故,centos6.5
从第8行开始出错:
# Generated by iptables-save v1.4.7 on Sun Dec 20 19:06:03 2015*filter:INPUT ACCEPT [1039:361975]:FORWARD ACCEPT [0:0]:OUTPUT ACCEPT [983:1110640]-A FORWARD -p icmp -j DROP-A INPUT -i lo -j ACCEPT-A INPUT -m state –state RELATED,ESTABLISHED -j ACCEPT-A INPUT -s 127.0.0.1 -j ACCEPT-A INPUT -p tcp -m tcp –dport 80 -m state –state NEW -m recent –set –name WEB –rsource-A INPUT -p tcp -m tcp –dport 80 -m state –state NEW -m recent –update –seconds 5 –hitcount 20 –rttl –name WEB –rsource -j DROP-A INPUT -p tcp -m multiport –ports 21,22,80 -j ACCEPT-A INPUT -p tcp -m tcp –tcp-flags SYN,RST,ACK SYN -m ttl –ttl-eq 117 -j DROP-A INPUT -p tcp -m tcp –tcp-flags SYN,RST,ACK SYN -m length –length 0:40 -j DROP-A INPUT -p tcp -m tcp ! –tcp-flags SYN,RST,ACK SYN -m state –state NEW -j DROPCOMMIT# Completed on Sun Dec 20 19:06:03 2015
赞0
踩0