6.6

Table Of Contents
2 Congure the host system to deny IPv6 router prex.
a Open the /etc/sysctl.conf le.
b If the values are not set to 0, add the following entries to the le or update the existing entries
accordingly. Set the value to 0.
net.ipv6.conf.all.accept_ra_pinfo=0
net.ipv6.conf.default.accept_ra_pinfo=0
c Save the changes and close the le.
Configure the Host System to Deny IPv6 Router Advertisement Hop Limit
Settings
As a security best practice, verify that the host system denies IPv6 router advertisement Hop Limit seings
from a router advertisement unless necessary. The accept_ra_defrtr seing controls whether the system
will accept Hop Limit seings from a router advertisement. Seing it to 0 prevents a router from changing
your default IPv6 Hop Limit for outgoing packets.
Procedure
1 Run the # grep [01] /proc/sys/net/ipv6/conf/*/accept_ra_defrtr|egrep "default|all" command
to verify that the host system denies IPv6 router Hop Limit seings.
2 If the values are not set to 0, congure the host system to deny IPv6 router advertisement Hop Limit
seings.
a Open the /etc/sysctl.conf le.
b If the values are not set to 0, add the following entries to the le or update the existing entries
accordingly. Set the value to 0.
net.ipv6.conf.all.accept_ra_defrtr=0
net.ipv6.conf.default.accept_ra_defrtr=0
c Save the changes and close the le.
Configure the Host System to Deny IPv6 Router Advertisement Autoconf
Settings
As a security best practice, verify that the host system denies IPv6 router advertisement autoconf seings.
The autoconf seing controls whether router advertisements can cause the system to assign a global unicast
address to an interface.
Procedure
1 Run the # grep [01] /proc/sys/net/ipv6/conf/*/autoconf|egrep "default|all" command to verify
whether the host system denies IPv6 router advertisement autoconf seings.
2 If the values are not set to 0, congure the host system to deny IPv6 router advertisement autoconf
seings.
a Open the /etc/sysctl.conf le.
b If the values are not set to 0, add the following entries to the le or update the existing entries
accordingly. Set the value to 0.
net.ipv6.conf.all.autoconf=0
net.ipv6.conf.default.autoconf=0
c Save the changes and close the le.
Secure Configuration
46 VMware, Inc.