Ensure /etc/hosts.allow is configured

Details

The /etc/hosts.allow file supports access control by IP and helps ensure that only authorized systems can connect to the system.

Solution

Run the following command to create /etc/hosts.allow: # echo ‘ALL: /, /, …’ >/etc/hosts.allow where each / combination (for example, ‘192.168.1.0/255.255.255.0’) represents one network block in use by your organization that requires access to this system.

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: System and Communications Protection.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles