Click to See Complete Forum and Search --> : Iptable status


cecibela1
03-20-2008, 01:26 PM
Greetings to all.

Sorry if this sounds dumb but I need do i know if my iptables on my redhat server is actually working...correctly? Is there such a command?

Whe I run this command:

[ceci@wwwserver ~]$ /etc/init.d/iptables status

only gives the written rules. I was expecting something like "iptables running" or "iptables stopped" or something like that.

Then I ran this other command:

[ceci@wwwserver ~]$ /sbin/chkconfig --list iptables
iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off


What's the command to out the status?

Thanks.