[CLUE-Tech] telnet and ipchains
Brandon N
bneill at yahoo.com
Thu Jul 19 11:40:28 MDT 2001
first determine if it is a firewall issue.
ipchains -L -n will show you the current rules
ipchains -F
ipchains -X will flush the rules and remove all but the default chains
now try to telnet
try also to telnet localhost
if it still fails, the telnet service is probably not active
check /etc/inetd.conf
telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
make sure that line is not commented out (#) (your line may vary
slightly)
if you make changes to that file, you'll have to kill -1 <PID of inetd>
Of course, you shouldn't be using telnet or ftp anyway, use ssh and
scp, using ftp for anonymous logins can be safe if it is in a chroot
jail.
Brandon
--- Ronald Brink <rbrink at 3roses.d2g.com> wrote:
> I have installed redhat 7.1 (twice; one with firewall (medium) and
> the other
> time without firewall). Either way - I am unable to telnet or ftp,
> etc to
> this box. I can telnet/ftp OUT only. Other users get "unable to
> connect to
> remote host: connection refused". I have flushed the firewall
> settings
> (ipchains -F) and then rebooted - no luck. Any help would be
> appreciated.
> I have hhree systems with the same problem. I also have a 7.0 rehat
> that
> has no problem in or out....
>
> Ron
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
More information about the clue-tech
mailing list