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

Information

IP forwarding permits the kernel to forward packets from one network interface to another. The ability to forward packets between two networks is only appropriate for systems acting as routers.

Solution

Configure RHEL 9 to not allow IPv6 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.ipv6.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_V2R3_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

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

Plugin: Unix

Control ID: b72d369fd13466432ca499ad08b64d9a9a0e5c72085c45960c3fd61985b147f3