Why "service iptables status" Shows Different? (Doc ID 2294739.1)

Last updated on AUGUST 15, 2017

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Linux x86-64
Linux x86

Symptoms

After we stopped iptables service manually, the message "Firewall is not running" is displayed. 

# service iptables stop
# service iptables status
iptables: Firewall is not running. 

But if reboot the Linux OS, an empty iptables rule set will be output even the iptables has been disabled.

# chckconfig --list |grep iptables
iptables 0:off 1:off 2:off 3:off 4:off 5:off 6:off

# service iptables status
Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination

Chain FORWARD (policy ACCEPT)
num target prot opt source destination

Chain OUTPUT (policy ACCEPT)
num target prot opt source destination

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms