LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-29-2002, 02:42 AM   #1
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627

Rep: Reputation: 31
can't access to remote machine


hi,
I ve just reinstalled the redhat 7.3.
In the previous installation, i could access to my machine from another with telnet or ftp, but not now.
I have installed telnet server, ftp server ..., the services are check and also the xinetd.
I run the xinetd but the same problem: Connexion refused.
perhaps something is doing by the firewall ??
where can I test if the fire wall stops the entering

thank you for help
bela
 
Old 12-29-2002, 04:41 AM   #2
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Rep: Reputation: 30
What firewall? I think the problem is in you /etc/inetd.conf. Edit it and uncomment the line with telnet an FTP:
#something like that
# File Transfer Protocol (FTP) server:
ftp stream tcp nowait root /usr/sbin/tcpd proftpd
#
# Telnet server:
telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd

It should be ok, or you can edit /etc/hosts.allow file and enter IP of the host you want to allow.
If your are using some firewall script like rc.firewall check out if its properly configured, I mean the IPtables chains

good luck
 
Old 12-29-2002, 07:47 AM   #3
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627

Original Poster
Rep: Reputation: 31
since, i think redhat 7.0 , there is no file inetd, but instead , there is a directory /etc/xinetd, which contains the services ( ftp, telnet ....).
to run the telnet or ftp ( not the case for httpd for example) server you must run the xinetd daemon.

why, firewall ? because firewall could block the access to the machine?
so the question remains open

thank for help
 
Old 12-29-2002, 09:09 AM   #4
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
To list the tcp ports open for listening,
netstat -tanp

Your firewall may not have any -j LOG rules in it to create messages, so do
chkconfig --list
and see whether ipchains or iptables is set on for levels 2,3,4,5, then either
service ipchains stop ,or
service iptables stop
to remove the firewall while you test.
You can turn the xinetd services on & off with chkconfig as well... eg
chkconfig telnet on
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I Remote access/Desktop Linux from a Windows machine Zed Supremus Linux - Networking 6 09-04-2011 12:11 AM
scp: copy a file from local machine to remote machine seran Linux - Newbie 8 10-30-2007 12:23 PM
Suggestions for setting up a network machine with remote terminal access cav Slackware 4 11-11-2005 06:14 PM
how to open a dilog on local machine when i do ssh to remote machine fahad26 Programming 3 05-03-2005 07:39 PM
Remote GUI access to Fedora Server from Windows machine astitva Linux - Software 1 04-04-2004 02:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration