RHEL-06-000120 - The systems local IPv4 firewall must implement a deny-all, allow-by-exception policy for inbound packets.

Information

In 'iptables' the default policy is applied only after all the applicable rules in the table are examined for a match. Setting the default policy to 'DROP' implements proper design for a firewall, i.e., any packets which are not explicitly permitted should not be accepted.

Solution

To set the default policy to DROP (instead of ACCEPT) for the built-in INPUT chain which processes incoming packets, add or correct the following line in '/etc/sysconfig/iptables':

:INPUT DROP [0:0]

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_6_V2R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-217933r603264_rule, STIG-ID|RHEL-06-000120, STIG-Legacy|SV-50314, STIG-Legacy|V-38513, Vuln-ID|V-217933

Plugin: Unix

Control ID: b7505536a6fa6af1a20a81ec6afc7cad2fddde42f1118835f5f89739e5f164d0