From: Kenn Humborg (kenn at domain avalon.wombat.ie)
Date: Sun 05 Sep 1999 - 11:30:57 IST
On Sat, Sep 04, 1999 at 02:24:40PM -0700, Michael Treacy wrote:
> Now, here's my question - I tried to FTP from one box to the other and the
> connection was cut off no matter what end I tried it from. Can someone tell
> me where I have to put the IP addresses that a box will allow access to
> itself from i.e. where in the pc should I put the IP address of the laptop
> and vice versa. BTW, I'm running SuSE 6.2.
The relevant file is /etc/hosts.allow. Check out
$ man hosts_access
for more info. This facilities provided by this stuff (called tcp_wrappers)
are very flexible. In your case, the quick answer is to add the following
in.ftpd: ALL at domain 192.168.x.y
where 192.168.x.x. is the address of the other machine. Alternatively,
you can just specify a portion of the IP address, thus allowing access
from any machine on your network:
in.ftpd: ALL at domain 192.168.x.
Don't forget the trailing '.'.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:32 GMT