?
Solved

Service iptables Restart brings up an unknown failure message, must ensure security

Posted on 2008-11-04
4
Medium Priority
?
1,682 Views
Last Modified: 2013-12-15
Hi,

I have recently installed and set up a new server and had just finished setting up the iptables document in /etc/sysconfig/iptables and when I restarted the page I received this error:

Flushing firewall rules:                                   [  OK  ]
Setting chains to policy ACCEPT: security raw nat mangle fi[FAILED]
Unloading iptables modules:                                [  OK  ]
Applying iptables firewall rules:                          [  OK  ]


My iptables pages looks like this:

# Firewall configuration written by system-config-securitylevel
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:RH-Firewall-1-INPUT - [0:0]
-A INPUT -j RH-Firewall-1-INPUT
-A FORWARD -j RH-Firewall-1-INPUT
-A RH-Firewall-1-INPUT -i lo -j ACCEPT
-A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
-A RH-Firewall-1-INPUT -p 50 -j ACCEPT
-A RH-Firewall-1-INPUT -p 51 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m tcp --dport 631 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m tcp --dport 80 -j ACCEPT
#-A RH-Firewall-1-INPUT -p udp -m udp --dport 53 -j ACCEPT
-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
COMMIT


Any help or observations on this matter would be great!

D
0
Comment
Question by:designitm
  • 2
  • 2
4 Comments
 
LVL 43

Accepted Solution

by:
ravenpl earned 1500 total points
ID: 22883716
I suppose You can ignore this.
most probably it's because one of the mentioned tables is unsupported by this kernel build
try
for i in security raw nat mangle filter; do echo $i; iptables -t $i -P INPUT ACCEPT

Also, what linux distro You have installed, maybe it has the bug, that every table has different chains?
0
 

Author Comment

by:designitm
ID: 22883738
I am using centos 5, do you know of any issues with this?
0
 
LVL 43

Expert Comment

by:ravenpl
ID: 22883773
No, I'm not aware of any issues there.
0
 

Author Comment

by:designitm
ID: 22883781
I am re-installing everything now, once I am done, I will attempt to see if the issue arises again,

thanks for your help :) I will post my results here again and we can confirm your answer on this issue.

you wouldn't know about installing mod_security would you?

D
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month9 days, 23 hours left to enroll

569 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question