LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   vsftpd connection refused (https://www.linuxquestions.org/questions/linux-newbie-8/vsftpd-connection-refused-96594/)

rhonneil 09-25-2003 12:30 AM

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.


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