1.441 OL09-00-006043

Information

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

GROUP ID: V-271880
RULE ID: SV-271880r1092352

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