Ensure iptables Rules are Saved

Description

The iptables service loads /etc/sysconfig/iptables at boot. That file must hold the complete rule set of the running filter table, as iptables-save writes it. After reviewing the running rules, save them:

# service iptables save

Rationale

Rules that are not saved are lost when the system reboots, and the firewall comes up with whatever the file holds.

Warning

The check compares the rules as iptables-save writes them, so a file edited by hand fails until service iptables save rewrites it.