UCF STIG Viewer Logo

The macOS system must not have IP forwarding for IPv4 enabled.


Overview

Finding ID Version Rule ID IA Controls Severity
V-214911 AOSX-13-001205 SV-214911r609363_rule Medium
Description
IP forwarding for IPv4 must not be enabled, as only authorized systems should be permitted to operate as routers.
STIG Date
Apple OS X 10.13 Security Technical Implementation Guide 2021-11-19

Details

Check Text ( C-16111r397305_chk )
To check if "IP forwarding" is enabled, run the following command:

sysctl net.inet.ip.forwarding

If the values are not "0", this is a finding.
Fix Text (F-16109r397306_fix)
To configure the system to disable "IP forwarding", add the following line to "/etc/sysctl.conf", creating the file if necessary:

net.inet.ip.forwarding=0