Skip to content

AlmaLinux OS 9 must not enable IP packet forwarding unless the system is a router.

An XCCDF Rule

Description

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.

ID
SV-269249r1050131_rule
Version
ALMA-09-019160
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Configure AlmaLinux OS 9 to not allow IP packet forwarding, unless the system is a router.

Create a numbered *.conf file in /etc/sysctl.d/ with the following content:

net.ipv4.conf.all.forwarding = 0
net.ipv4.conf.default.forwarding = 0