RHEL-09-253075 - RHEL 9 must not enable IPv4 packet forwarding unless the system is a router.

Information

Routing protocol daemons are typically used on routers to exchange network topology information with other routers. If this capability is used when not required, system network information may be unnecessarily transmitted across the network.

Solution

Configure RHEL 9 to not allow IPv4 packet forwarding, unless the system is a router.

Add or edit the following line in a single system configuration file, in the '/etc/sysctl.d/' directory:

net.ipv4.conf.all.forwarding = 0

Load settings from all system configuration files with the following command:

$ sudo sysctl --system

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-257970r991589_rule, STIG-ID|RHEL-09-253075, Vuln-ID|V-257970

Plugin: Unix

Control ID: ec0958396b9cfb20a3d1dc998a3b091198166f954346a1362264e8d622cf9981