UCF STIG Viewer Logo

The Photon operating system must not perform IPv4 packet forwarding.


Finding ID Version Rule ID IA Controls Severity
V-239183 PHTN-67-000112 SV-239183r816672_rule Medium
Routing protocol daemons are typically used on routers to exchange network topology information with other routers. If this software is used when not required, system network information may be unnecessarily transmitted across the network.
VMware vSphere 6.7 Photon OS Security Technical Implementation Guide 2022-06-17


Check Text ( C-42394r675355_chk )
At the command line, execute the following command:

# /sbin/sysctl -a --pattern "net.ipv4.ip_forward$"

Expected result:

net.ipv4.ip_forward = 0

If the system is intended to operate as a router, this is N/A.

If the output does not match the expected result, this is a finding.
Fix Text (F-42353r816671_fix)
Open /etc/sysctl.conf with a text editor.

Add or update the following line:

net.ipv4.ip_forward = 0

Run the following command to load the new setting:

# /sbin/sysctl --load