openinng port 80

Giganews Newsgroups
Subject: openinng port 80
Posted by:  AR (…@e-mail.si)
Date: Fri, 23 Jan 2004

Hy! Im using following script generated by Lokkit to firewall system..
But I have to open http port 80. I have tried to insert this line manualy
into script, but it doesn't open port...
-I RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 80 -j ACCEPT

Script:
# Generated by iptables-save v1.2.8 on Thu Jan 22 18:10:47 2004
*nat
:PREROUTING ACCEPT [163:52618]
:POSTROUTING ACCEPT [31:1860]
:OUTPUT ACCEPT [31:1860]
-A POSTROUTING -o eth0 -j SNAT --to-source 82.149.1.135
COMMIT
# Completed on Thu Jan 22 18:10:47 2004
# Generated by iptables-save v1.2.8 on Thu Jan 22 18:10:47 2004
*filter
:INPUT DROP [15:1377]
:FORWARD ACCEPT [42:20558]
:OUTPUT ACCEPT [3337:880412]
:RH-Lokkit-0-50-INPUT - [0:0]
-A INPUT -j RH-Lokkit-0-50-INPUT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -i ! eth0 -m state --state NEW -j ACCEPT
-A INPUT -s 192.74.53.0/255.255.255.0 -i eth0 -j DROP
-A FORWARD -j RH-Lokkit-0-50-INPUT
-A RH-Lokkit-0-50-INPUT -i lo -j ACCEPT
-A RH-Lokkit-0-50-INPUT -i eth1 -j ACCEPT
-I RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -s 213.161.0.10 -p udp -m udp --sport 53 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -s 213.161.0.20 -p udp -m udp --sport 53 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -s 193.2.1.66 -p udp -m udp --sport 53 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --tcp-flags SYN,RST,ACK SYN -j REJECT --reject-with icmp-port-unreachable
-A RH-Lokkit-0-50-INPUT -p udp -m udp -j REJECT --reject-with icmp-port-unreachable
COMMIT
# Completed on Thu Jan 22 18:10:47 2004

Replies