Become superuser.
Turn TCP Wrappers on by editing the /etc/default/inetd file by adding the following line.
ENABLE_TCPWRAPPERS=YES |
If the previous line already exists with a comment symbol, then you can just delete the comment symbol.
Kill the inetd daemon.
Restart the inetd daemon.
Configure the TCP Wrappers access control policy as described in the hosts_access(4) man page.