The /etc/hosts.allow configuration file is used to configure IP addresses, hosts, or subnets that you want to allow access to your server. This file only pertains to services spawned by the inetd daemon. The inetd daemon reads this file and decides whether or not a connection is permitted.

#/etc/hosts.allow
	ALL:            127.            # allow full access to localhost
	in.telnetd:     192.168.1.      # trusted network
	in.ftpd:        192.168.1.      # trusted network