Re: Unable to telnet a Linux Box from a Windows 2000 Server

From: Jeff Breitner (usenet_at_rudn.com)
Date: 03/19/04


Date: Thu, 18 Mar 2004 23:16:46 -0500

tzutzu wrote:
> Hi guys!
>
> I just setup a new Red HAt Linux 7.1 box at home and I created a small
> network with a crossover cable to my Windows 2000 box. I have assigned
> a private address to my Linux box, 172.25.25.25 and 172.25.25.26 for
> my Win box.
>
> I was able to ping both these machines, I was able to telnet my Win
> machine but for whatever reason I cannot telnet the linux machine on
> any port. I can telent the Linux machine from the linux terminal so
> the telnet process is actually working. I know telnet is listening,
> httpd is listening and some other port like 22 is open. I even scanned
> the linux box and I saw the ports open.
> I've tried PUTTY as well, didn't work. When using telnet from Windows,
> the message returned was: Connecting to 172.25.25.25...... Could not
> open a connection to host on port 23.. Connect failed.
>

Assuming your network is operating properly, there's a couple things you
need to look for within Red Hat.

First, this version of RH may have packet filtering enabled to stop
telnet access. I believe you can easily test this theory by issuing the
command (as root) /etc/rc.d/init.d/ipchains off. If it gives an
affirmative response that it turned it off, then you know you're not
hampered by any packet filtering for the next test.

Next, once we've determined that there's no packet filtering, open up a
terminal window and telnet to localhost. If that fails, then your inetd
or xinetd super-server is not configured for telnet and/or you haven't
installed the telnet server rpm. If you have installed the rpm, it will
write the appropriate entries into inetd or xinetd and all you need to
do is enable them and restart the super-server.



Relevant Pages

  • Small SOHO email setup on Rh7.3
    ... I can telnet into the Linux machine from my Windows ... I cannot telnet to port 25 port from any Windows machine. ...
    (comp.os.linux.misc)
  • Dumb Newbie
    ... Linux box running Fedora core 1. ... Install and set-up was a breeze. ... A couple hours later and I finally managed to get a response from the telnet ... ISP is filtering traffic to port 25? ...
    (Fedora)
  • Re: redhat-list Digest, Vol 5, Issue 44
    ... > Im new to linux and want to access my two fat32 partitions in my redhat ... > just listen for calls on the localhost instead of networked or internet ...
    (RedHat)
  • Re: Help: Unable to setup LAN for Linux and WinXp systems
    ... Sorry, Port 25! ... > Paul S. ... >> I have Linux on my desktop and WinXP on my Laptop. ... >> I can ping linux ip successfully but cannot ssh or telnet. ...
    (RedHat)
  • Re: Unable to telnet a Linux Box from a Windows 2000 Server
    ... Did you install the a telnet server, and if you did, did you activate it? ... > I just setup a new Red HAt Linux 7.1 box at home and I created a small ... I can telent the Linux machine from the linux terminal so ... > httpd is listening and some other port like 22 is open. ...
    (comp.os.linux.networking)

Loading