Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-22-2004, 11:53 PM
|
#1
|
LQ Newbie
Registered: Dec 2003
Distribution: Redhat Linux 8.0
Posts: 17
Rep:
|
Remote telnet gets 'Connection refused'
On a fresh Redhat 8.0 machine, telnet wasn't enabled by default. So, I edited /etc/xinetd.d/telnet and changed "disable = yes" to "disable = no".
Then, I executed the "/etc/init.d/xinetd restart".
Now, if I telnet to localhost, there's no problem at all, and I am shown a login prompt. But if telnet to the machine remotely, I get a 'Connection refused'.
I remember this had worked earlier on another machine...
Is there something I am msising? Is there something else I should be doing?
regards,
Ashutosh
|
|
|
01-23-2004, 01:32 AM
|
#2
|
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127
Rep:
|
any firewall config set up? like iptables or ipchains? how about tcpwrappers - /etc/hosts.allow and /etc/hosts.deny?
|
|
|
01-23-2004, 02:57 AM
|
#3
|
LQ Newbie
Registered: Dec 2003
Distribution: Redhat Linux 8.0
Posts: 17
Original Poster
Rep:
|
Nothing special has been set up. Whatever came set up with the OS installation.
/etc/hosts.allow and /etc/hosts.deny are blank (there are only commented lines in those two files).
How do I check if iptables or ipchains are causing the problem?
Do I need to do a 'iptables -- flush' after enabling telnet?
|
|
|
01-23-2004, 07:50 AM
|
#4
|
Member
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436
Rep:
|
what shows
iptables -L
?
|
|
|
01-23-2004, 09:48 AM
|
#5
|
Member
Registered: Sep 2003
Location: //home/sweden
Distribution: RedHat 9, Fedora Core 1
Posts: 360
Rep:
|
Since you're using RH you can run lokkit from the console and easily configure the firewall to allow telnet...
|
|
|
01-27-2004, 01:12 AM
|
#6
|
LQ Newbie
Registered: Dec 2003
Distribution: Redhat Linux 8.0
Posts: 17
Original Poster
Rep:
|
Ok. will try lokkit... thanks
|
|
|
All times are GMT -5. The time now is 06:03 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|