Quoting Wayne <[EMAIL PROTECTED]>:

>     I have installed 5.0 into a new Dell.  I have not set up anything
> special yet (no firewall, no natd, etc.).
>     I can ssh out to the world, but I can't get into the new box from the
> gateway FreeBSD box on the same home network.  The gateway box properly
> lists the new box in /etc/hosts.  Each box can ping the other by name
> and by ip.
>     I enabled telnet in inetd.conf, and I get rejected, also.
>     Is there a new default connecton protection that I must turn off, or
> something?  [/etc/hosts.allow  is the default setting, I see no answer
> there.]
> [EMAIL PROTECTED]:/home/wayne>telnet etaq3
> Trying
> Connected to etaq3.etaq.com.
> Escape character is '^]'.
> Connection closed by foreign host.
> [EMAIL PROTECTED]:/home/wayne>ping etaq3
> PING etaq3.etaq.com ( 56 data bytes
> 64 bytes from icmp_seq=0 ttl=64 time=0.402 ms

When you telnet to any tcp port and you receive 'Connected to xxxx' followed by
an immediate Connection closed by foreign host, it almost always means
tcp_wrappers is blocking your connection.

FWIW - the 'Connected to' blurb means the 3-way TCP handshake was successful.

I thought the default install has tcp_wrappers "open".  Since it sounds like
it's not open, add the following line to the very top of /etc/hosts.allow to
effecctively disable tcp_wrappers:

ALL : ALL  : allow

As another test... do the following:

# telnet etaq3 22

Do you get an SSH banner immediately? eventually? never?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to