LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Telnet problems (https://www.linuxquestions.org/questions/linux-networking-3/telnet-problems-12213/)

ldogg 01-20-2002 07:00 PM

Telnet problems
 
Please help me with a telnet problem. I just installed Redhat 7.2, and I want to Telnet to it from another machine. I know it isn't secure, but I am only doing this to learn Linux. I have tried EVERYTHING posted on this board, and I still get a connection refused error. I checked the hosts.allow and deny files, I made sure the line said disabled=no, made sure telnet was running, etc. Still no luck. Also, when I type setup after being logged in as root, I go into the firewall config and select none, but it doesn't save it. it always goes back to what it was. Someone please help!

Thanks

hanzerik 01-20-2002 08:24 PM

.

MikHud 01-21-2002 03:43 AM

Sounds like you may have tried all this, but see www.webmo.net/support/linux72.html section 5.B 'Telnet' just in case. Note the little typo: 'xinet.d should read 'xinetd.d'. I had a similar problem but changing 'disable' in /etc/xinetd.d from yes to no cured it for me.

Regards
Mike

ldogg 01-23-2002 08:55 PM

Thanks for the help Mike, but I still can't get it working. I tried adding the following line:

-A input -s 0/0 -d 0/0 23 -p tcp -y -j ACCEPT

I'm not sure if I did it right though. Do i just do "pico ipchains" in the sbin dir, and put it anywhere in the file, or does it have to be in a special place?

Thanks

hanzerik 01-24-2002 07:09 AM

I dont use ipchains, but I think the command to modify the chains would be: "ipchains -A input -s 0/0 -d 0/0 23 -p tcp -y -j ACCEPT"

Here is a link with info on how to make rules perminant.
http://www.linux.com/howto/IPCHAINS-HOWTO-2.html#ss2.3


All times are GMT -5. The time now is 08:26 AM.