LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-25-2003, 12:30 AM   #1
rhonneil
LQ Newbie
 
Registered: Sep 2003
Posts: 14

Rep: Reputation: 0
vsftpd connection refused


Hi gurus out there!

Pls help me with this one...

I installed vsftpd-1.20 from source on my RH 9.0 server with the following entries available on my vsftpd.conf:

listen= YES
max_client=200
max_per_ip=2
anonymous_enable=YES
local_enable=YES
anon_world_readable_only=YES
connect_form_port_20=YES
hide_ids=YES
pasv_min_port=50000
pasv_max_port=60000
chown_uploads=YES
chroot_username=ftp
chroot_local_user=YES
nopriv_user=vsftpd

on my /etc/passwd
vsftpd:x:21:101::/var/ftp

my firewall provides the following entries:

iptables -A OUTPUT -o $EXTERNAL_INTERFACE p tcp |
-s $IPADDR --source-port $UNPRIVPORT \
--destination-port 21 -j ACCEPT

iptables -A INPUT -i $EXTERNAL_INTERFACE p tcp ! --syn
--source-port 21 \
-d $IPADDR --destination-port $UNPRIVPORTS -j ACCEPT

iptables -A INPUT -i $EXTERNAL_INTERFACE p tcp ! --syn
--source-port 20 \
-d $IPADDR --destination-port $UNPRIVPORTS -j ACCEPT

iptables -A OUTPUT -o $EXTERNAL_INTERFACE p tcp |
-s $IPADDR --source-port $UNPRIVPORT \
--destination-port 20 -j ACCEPT

Also, #service xinetd status
xinetd (pid 895) is running...

With all these entries, everytime I invoked the command
#ftp stationx
I get a connection refused error.

Running the service, resulted to [OK] however can't see the service running using nmap and netstat -tpan?

What else should I check to fix this problem.

Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Socket Connection Failed: 111 Connection Refused degraffenried13 Linux - General 3 05-31-2009 01:17 AM
ircd.conf: "Connection failed. Error: Connection refused" hamish Linux - Software 3 03-10-2005 07:23 AM
lp filename yields "cannot open connection to localhost - Connection refused" jjge Linux - General 3 12-28-2003 11:02 PM
vsftpd - local connection refused simonmccourt Linux - Networking 15 11-02-2003 03:35 PM
vsftpd Connection Refused Errors SForsgren Linux - General 2 04-26-2003 11:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:41 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