[CentOS] iptables failure at the last line

Alexander Farber alexander.farber at gmail.com
Tue Oct 5 08:20:00 EDT 2010


Seems to work now, thank you
(I was having -p tcp instead of -p udp):

*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [294:35064]
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -s 194.247.190.0/24 -j DROP
-A INPUT -p icmp -m icmp --icmp-type any -j ACCEPT
-A INPUT -p udp -m state --state NEW -m udp -m multiport --dports
137,138,445 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp -m multiport --dports
139,445,8080,1935,1111,80 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 443 --tcp-flags
FIN,SYN,RST,ACK SYN -m limit --limit 1/min --limit-burst 2 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 --tcp-flags
FIN,SYN,RST,ACK SYN -m limit --limit 1/min --limit-burst 2 -j ACCEPT
COMMIT


More information about the CentOS mailing list