Skip to content

Commit

Permalink
sysctl updates
Browse files Browse the repository at this point in the history
  • Loading branch information
fred-vogt-dod committed May 16, 2023
1 parent 22a2a70 commit f598232
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/cis-benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,10 @@ echo "2.2.4 - ensure LDAP client is not installed"
yum_remove openldap-clients

echo "3.1.1 - ensure IP forwarding is disabled"
sysctl_entry "net.ipv4.ip_forward = 0"
sysctl_entry "net.ipv6.conf.all.forwarding = 0"
# Required for working container networking
# sysctl_entry "net.ipv4.ip_forward = 0"
# sysctl_entry "net.ipv4.conf.all.forwarding = 0"
# sysctl_entry "net.ipv6.conf.all.forwarding = 0"

echo "3.1.2 - ensure packet redirect sending is disabled"
sysctl_entry "net.ipv4.conf.all.send_redirects = 0"
Expand Down

0 comments on commit f598232

Please sign in to comment.