[TriLUG] Problems with hosts.deny hosts.allow

Vestal, Roy L. rvestal at rti.org
Mon Mar 11 09:59:01 EST 2002


What is the syntax for hosts.allow?

Here's my problem. "The names (and IP's) have been changed to protect the
identity of the innocent"

Machine A: laptop - rlvlaptop 192.168.0.1
Machine B: desktop1 - rlvdesk1 192.168.0.2
Machine C: desktop2 - rlvdesk2 192.168.0.3

What I want to do is to set it up so that A and B can telnet, FTP, SSH, and
VNC to C.  If I remove "all:all" from hosts.deny, then they can. If I add
"all:all" then they cannot. I've added "192.168.0.1" and "192.168.0.2" to
machine C's hosts.allow, but I still cannot connect ("connection closed by
foreign host" error).

What am I missing? Also, I eventually want the network 192.168.x.x to be
able to connect as well. How do I add this to the hosts.allow?



More information about the TriLUG mailing list