RHEL 9 must not enable IPv6 packet forwarding unless the system is a router.
An XCCDF Rule
Description
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.
- ID
- SV-257974r991589_rule
- Version
- RHEL-09-254025
- Severity
- Medium
- References
- Updated
Remediation Templates
A Manual Procedure
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