← Rules Catalog
mediumnetwork

Ensure net.ipv6.conf.all.forwarding is set to 0

sysctl-net-ipv6-conf-all-forwarding · RHEL ≥ 8, UBUNTU ≥ 22 · 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.1ubuntu22 3.3.2.1ubuntu24 3.3.2.1

STIG

V-281357 / RHEL-10-800250V-230540 / RHEL-08-040260V-257974 / RHEL-09-254025

NIST 800-171

3.4.2[b]

CMMC Level 2

CM.L2-3.4.2
#sysctl#networking#hardening