1.433 OL09-00-006028

Information

OL 9 must not enable IPv4 packet forwarding unless the system is a router.

GROUP ID: V-271872
RULE ID: SV-271872r1092328

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 OL 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://workbench.cisecurity.org/benchmarks/27024