3.4.4.2.6 Ensure iptables service is enabled and active

Information

iptables.service is a utility for configuring and maintaining iptables

iptables.service will load the iptables rules saved in the file /etc/sysconfig/iptables at boot, otherwise the iptables rules will be cleared during a re-boot of the system.

Solution

Run the following command to enable and start iptables:

# systemctl unmask iptables.service
# systemctl --now enable iptables.service

See Also

https://workbench.cisecurity.org/benchmarks/15965

Item Details

Category: SECURITY ASSESSMENT AND AUTHORIZATION, SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|CA-9, 800-53|SC-7, 800-53|SC-7(5), CSCv7|9.4

Plugin: Unix

Control ID: 6df459e412d36bb5afd91d5ffd4411f530beb2eda6bbdbe7b7640bd113c236e5