SV-256575r991589_rule
V-256575
SRG-OS-000480-GPOS-00227
PHTN-30-000106
CAT II
10
At the command line, run the following commands:
# sed -i -e "/^net.ipv4.ip_forward/d" /etc/sysctl.conf
# echo net.ipv4.ip_forward=0>>/etc/sysctl.conf
# /sbin/sysctl --load
At the command line, run the following command:
# /sbin/sysctl -a --pattern "net.ipv4.ip_forward$"
Expected result:
net.ipv4.ip_forward = 0
If the output does not match the expected result, this is a finding.
V-256575
False
PHTN-30-000106
At the command line, run the following command:
# /sbin/sysctl -a --pattern "net.ipv4.ip_forward$"
Expected result:
net.ipv4.ip_forward = 0
If the output does not match the expected result, this is a finding.
M
5520