|
楼主 |
发表于 2005-6-9 09:04:13
|
显示全部楼层
# Generated by iptables-save v1.2.8 on Fri Apr 29 14:33:32 2005
*nat
REROUTING ACCEPT [4992]
OSTROUTING ACCEPT [409]
:OUTPUT ACCEPT [409]
COMMIT
# Completed on Fri Apr 29 14:33:32 2005
# Generated by iptables-save v1.2.8 on Fri Apr 29 14:33:32 2005
*filter
:INPUT DROP [2409]
:FORWARD ACCEPT [0]
:OUTPUT ACCEPT [133181]
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG FIN,SYN,RST,PSH,ACK,URG -j DROP
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG NONE -j DROP
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG FIN,PSH,URG -j DROP
-A INPUT -p tcp -m tcp --tcp-flags SYN,RST SYN,RST -j DROP
-A INPUT -i eth0 -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 21 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 110 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 25 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8080 -j ACCEPT
-A FORWARD -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG FIN,SYN,RST,PSH,ACK,URG -j DROP
-A FORWARD -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG NONE -j DROP
-A FORWARD -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG FIN,PSH,URG -j DROP
-A FORWARD -p tcp -m tcp --tcp-flags SYN,RST SYN,RST -j DROP
-A FORWARD -f -m limit --limit 100/sec --limit-burst 100 -j ACCEPT
-A FORWARD -p tcp -m tcp --tcp-flags SYN,RST,ACK SYN -m limit --limit 1/sec -j ACCEPT
-A FORWARD -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK RST -m limit --limit 1/sec -j ACCEPT
-A FORWARD -p icmp -m limit --limit 1/sec -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 31337 -j DROP
-A OUTPUT -o eth0 -p tcp -m tcp --dport 31335 -j DROP
-A OUTPUT -o eth0 -p tcp -m tcp --dport 27444 -j DROP
-A OUTPUT -o eth0 -p tcp -m tcp --dport 27665 -j DROP
-A OUTPUT -o eth0 -p tcp -m tcp --dport 20034 -j DROP
-A OUTPUT -o eth0 -p tcp -m tcp --dport 9704 -j DROP
-A OUTPUT -o eth0 -p tcp -m tcp --dport 137 -j DROP
-A OUTPUT -o eth0 -p tcp -m tcp --dport 138 -j DROP
-A OUTPUT -o eth0 -p tcp -m tcp --dport 139 -j DROP
-A OUTPUT -o eth0 -p tcp -m tcp --sport 139 -j DROP
-A OUTPUT -o eth0 -p tcp -m tcp --sport 138 -j DROP
-A OUTPUT -o eth0 -p tcp -m tcp --sport 137 -j DROP
-A OUTPUT -o eth0 -p tcp -m tcp --sport 9704 -j DROP
-A OUTPUT -o eth0 -p tcp -m tcp --sport 20034 -j DROP
-A OUTPUT -o eth0 -p tcp -m tcp --sport 27665 -j DROP
-A OUTPUT -o eth0 -p tcp -m tcp --sport 27444 -j DROP
-A OUTPUT -o eth0 -p tcp -m tcp --sport 31335 -j DROP
-A OUTPUT -o eth0 -p tcp -m tcp --sport 31337 -j DROP
COMMIT
# Completed on Fri Apr 29 14:33:32 2005 |
|