My Oracle Support Banner

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

Last updated on AUGUST 27, 2021

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Oracle Cloud Infrastructure - Version N/A 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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.