STIGQter STIGQter: STIG Summary: Cloud Linux AlmaLinux OS 9 Security Technical Implementation Guide Version: 1 Release: 7 Benchmark Date: 01 Jul 2026:

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

DISA Rule

SV-269249r1050131_rule

Vulnerability Number

V-269249

Group Title

SRG-OS-000480-GPOS-00227

Rule Version

ALMA-09-019160

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

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
net.ipv4.conf.lo.forwarding = 0
net.ipv6.conf.all.forwarding = 0
net.ipv6.conf.default.forwarding = 0
net.ipv6.conf.lo.forwarding = 0

The system configuration files need to be reloaded for the changes to take effect. To reload the contents of the files, run the following command:

$ sysctl –system

Check Contents

Verify AlmaLinux OS 9 is not performing IP packet forwarding, unless the system is a router.

Check that IP forwarding is disabled using the following command:

$ sysctl -a | grep -E '\.forwarding'

net.ipv4.conf.all.forwarding = 0
net.ipv4.conf.default.forwarding = 0
net.ipv4.conf.enp1s0.forwarding = 0
net.ipv4.conf.lo.forwarding = 0
net.ipv6.conf.all.forwarding = 0
net.ipv6.conf.default.forwarding = 0
net.ipv6.conf.enp1s0.forwarding = 0
net.ipv6.conf.lo.forwarding = 0

If any of the returned lines are not set to "0" and it is not documented with the information system security officer (ISSO) as an operational requirement, this is a finding.

Vulnerability Number

V-269249

Documentable

False

Rule Version

ALMA-09-019160

Severity Override Guidance

Verify AlmaLinux OS 9 is not performing IP packet forwarding, unless the system is a router.

Check that IP forwarding is disabled using the following command:

$ sysctl -a | grep -E '\.forwarding'

net.ipv4.conf.all.forwarding = 0
net.ipv4.conf.default.forwarding = 0
net.ipv4.conf.enp1s0.forwarding = 0
net.ipv4.conf.lo.forwarding = 0
net.ipv6.conf.all.forwarding = 0
net.ipv6.conf.default.forwarding = 0
net.ipv6.conf.enp1s0.forwarding = 0
net.ipv6.conf.lo.forwarding = 0

If any of the returned lines are not set to "0" and it is not documented with the information system security officer (ISSO) as an operational requirement, this is a finding.

Check Content Reference

M

Target Key

5664