--- Uuganbat Altangerel <uuganbat@xxxxxxxxxx> escribió: > hi all, > > How can I configure hosts.allow and hosts.deny files > because I want to remote access via telnet from only > one ip address and another ip address users are > can`t access to server. > > I think this configuretion on hosts.allow and > hosts.deny files. > Plz tell me how can i configure. Look at my /etc/hosts.allow # /etc/hosts.allow: list of hosts that are allowed to access the system. # See the manual pages hosts_access(5), hosts_options(5) # and /usr/doc/netbase/portmapper.txt.gz # # Example: ALL: LOCAL @some_netgroup # ALL: .foobar.edu EXCEPT terminalserver.foobar.edu # # If you're going to protect the portmapper use the name "portmap" for the # daemon name. Remember that you can only use the keyword "ALL" and IP # addresses (NOT host or domain names) for the portmapper. See portmap(8) # and /usr/doc/netbase/portmapper.txt.gz for further information. # look at this -->#This host, will have acces to all the --->servicies #running on my server --->ALL: 192.168.1.1 look at this --->#This line give acces to smbd and nmbd --->to all hosts #which want to connect to my smbd and --->nmbd --->smbd, nmbd: ALL If you want to give telnet acces..for example this ip:10.20.6.100, you should put a line like that on your /etc/hosts.allow: telnetd: 10.20.6.100 Cheers ;-) > > > -- > redhat-list mailing list > unsubscribe > mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list ===== -- Manuel Aróstegui Linux user 200896 ___________________________________________________ Yahoo! Messenger - Nueva versión GRATIS Super Webcam, voz, caritas animadas, y más... http://messenger.yahoo.es -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list