I am trying to configure xinetd on RH7.1. When I am on the console of my
machine, I can telnet back to itself. But from another machine I get
connection refused. What could be wrong?
--
Anthony Lee
Energex
150 Charlotte Street ..-- __o
Brisbane ....-- _ \<,_
Qld 4000 ____ (_)/ (_)
Australia
voice:+61 7 3407 4541
fax: +61 7 3407 4607
email: AL...@energex.com.au
> I am trying to configure xinetd on RH7.1. When I am on the console of my
> machine, I can telnet back to itself. But from another machine I get
> connection refused. What could be wrong?
When RH 7.1 installs itself, it installs a firewall which is most likely
blocking your requests. You can try this and see whether or not it works:
/sbin/ipchains -I input 1 -s 0.0.0.0/0 -d <your ip> 23 -j ACCEPT
See if that allows telnet connections to enter your system.
See ya
Dean Thompson
--
+____________________________+____________________________________________+
| Dean Thompson | E-mail - Dean.T...@csse.monash.edu.au |
| Bach. Computing (Hons) | ICQ - 45191180 |
| PhD Student | Office - <Off-Campus> |
| School Comp.Sci & Soft.Eng | Phone - +61 3 9903 2787 (Gen. Office) |
| MONASH (Caulfield Campus) | Fax - +61 3 9903 1077 |
| Melbourne, Australia | |
+----------------------------+--------------------------------------------+
> Hi,
>
> I am trying to configure xinetd on RH7.1. When I am on the console of my
> machine, I can telnet back to itself. But from another machine I get
> connection refused. What could be wrong?
You need to edit /etc/xinetd.d/telnet. It should be obvious what you need
to do, then restart xinetd.
I just simply ran the firewall scripts with the stop option and it did solve
my problem. Thanks for the help
--
Anthony Lee
Energex
150 Charlotte Street ..-- __o
Brisbane ....-- _ \<,_
Qld 4000 ____ (_)/ (_)
Australia
voice:+61 7 3407 4541, 3407 5071
fax: +61 7 3407 4607, 3407 5062
email: AL...@energex.com.au
If he has not edited /etc/xinetd.d/telnet, how the hell did he managed to
telnet to himself ?
Dave Uhring wrote:
--
Starwing
Pls to stand 50 ft away from me !!
"If youre not on DALnet, you're on the wrong network!"
/server irc.dal.net (random DALnet server)
Give Vision a try! vision.dal.net (ports 6660 thru 6669 and 7000
> RedHat 7.1 comes with IPChain that blocks telnet port by default. That is
> why you can telnet from your own machine but not the outside world.
>
> If he has not edited /etc/xinetd.d/telnet, how the hell did he managed to
> telnet to himself ?
>
Please bottom post on these news groups. I have taken the liberty of
moving your post to the bottom.
One can telnet to 127.0.0.1 even without a telnet server being present.
Only the telnet client is required.
If one wishes to be able to accept telnet connections on port 23 from other
hosts it is required on RH-7.1 that the /etc/xinetd.d/telnet file be edited
and xinetd restarted, plain and simple.
There are other commands which will restart xinetd and if Red Hat is the
only system you use then learn them. I also use several other Unix, BSD
and Linux systems and do not feel the need to memorize Red Hat's quirks
when standard Unix syntax works.