Learning Academy

The Cure of Ignorance is to Question. MUHAMMAD (PBUH)

CentOS

TCP Wrappers

Some more examples:

#The following example applies to any host within the example.com domain:

ALL : .example.com

#The following example applies to any host within the 192.168.x.x network:

ALL : 192.168.

#The following example applies to any host with an
#address range of 192.168.0.0 through 192.168.1.255:

ALL : 192.168.0.0/255.255.254.0

#The following example would apply to any host within the example.com domain:

ALL : *.example.com  

#The slash (/) — If a client list begins with a slash, it is treated as a file name.
#This is useful if rules specifying large numbers of hosts are necessary.

#The following example refers TCP Wrappers to the /etc/telnet.hosts file
#for all Telnet connections:in.telnetd : /etc/telnet.hosts#The following example applies to any host e.g. 0.0.0.0/255.255.255.255 :

ALL : ALL

Muhammad Shaukat

Content Developer at LearnAcad.com

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Pin It on Pinterest