Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

proftpd xinetd

Status
Not open for further replies.

vermaha

Programmer
Sep 23, 2003
1
JP
I've installed proftpd on Redhat (downloaded latest this week).
* created the appropriate proftpd.conf file in the /usr/local/etc dir.
* then created the proftpd file in the /etc/xinetd.d dir in order to start proftpd with xinetd
* disable is set to "no" in the file above
* I restarted xinetd several times

I can connect to the proftpd server from the machine it is installed on, yet I cannot seem to connect from a remote machine. I always get the "connection refused" response. So some security setting is actively blocking access.

* then I checked the hosts.allow in /etc and added the ALL : ALL : ALLOW. But still I get the same problem. I am completely clueless after seeing 20 tutorials on installing and configuring proftpd with xinetd all, with slight little annoying differences.

SOME EXTRA INFO
* I cannot see any message in the /var/log/messages related to "connection refused".

* when I chkconfig, I can't see any proftpd-related lines.
What's going on? Your help much appreciated!
Thanx

 
Are you running the redhat-config-securitylevel firewall? Are you runnning iptables? Usually when a machine is actively refusing a connection its because the server is listening but the firewall is denying it. You should check to make sure that if you are running either the redhat security firewall(uses iptables anyway) or iptables, you will need to add an input chain for accept to ports 20 and 21. And if you add the passive lines in the proftpd.conf you will also need to allow those.

John D. Saucier
jsauce@magicguild.com
Certified Technician
Network Administrator
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top