UCF STIG Viewer Logo

The OS X system must not have IP forwarding for IPv4 enabled.


Overview

Finding ID Version Rule ID IA Controls Severity
V-76137 AOSX-12-001205 SV-90825r1_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.12 Security Technical Implementation Guide 2018-12-24

Details

Check Text ( C-75823r1_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-82775r1_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