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 Nov 10, 2022
1 parent 7a18734 commit e6d75ad
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 e6d75ad

Please sign in to comment.