how to config 80 port for apache in iptables
Steve Searle
steve at stevesearle.com
Sun Apr 12 15:50:24 UTC 2009
Around 03:18pm on Sunday, April 12, 2009 (UK time), Nathan Huang scrawled:
> First step:
> echo '-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport
> 80 -j ACCEPT' >> /etc/sysconfig/iptables
This seems OK to me.
>
> Second step:
> /sbin/service iptables restart
>
> error:
> iptables: Flushing firewall rules: [ OK ]
> iptables: Setting chains to policy ACCEPT: filter [ OK ]
> iptables: Unloading modules: [ OK ]
> iptables: Applying firewall rules: iptables-restore: line 15 failed
> [FAILED]
Are you sure this is exactly what you entered, and that it is line 15 om
iptables. Can you post the whole of your iptables file.
Steve
--
(o< www.stevesearle.com
//\ Powered by Fedora
V_/_ No MS products were used in the creation of this message
16:49:09 up 6 days, 4:11, 1 user, load average: 0.11, 0.03, 0.01
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20090412/c4ec8da6/attachment-0001.bin
More information about the users
mailing list