mediumnetworkverified ✓rollback-safe
Ensure net.ipv6.conf.all.forwarding is set to 0
sysctl-net-ipv6-conf-all-forwarding · RHEL ≥ 8 · 1 impl
Description
The kernel parameter net.ipv6.conf.all.forwarding must be set to 0 to enforce this network/kernel security control.
Rationale
Improper network kernel parameters can allow network-based attacks including packet redirection, source routing, and denial of service.
Check → Remediate
Checksysctl_value
- key:
- net.ipv6.conf.all.forwarding
- expected:
- 0
Remediatesysctl_set
- key:
- net.ipv6.conf.all.forwarding
- value:
- 0
Framework references
CIS
rhel8 3.3.2.1rhel10 3.3.2.1
STIG
V-281357 / RHEL-10-800250V-230540 / RHEL-08-040260V-257974 / RHEL-09-254025
Live verification
rhel10:checkrhel8:checkrhel9:check
#sysctl#networking#hardening