LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   vsftpd problem (https://www.linuxquestions.org/questions/linux-newbie-8/vsftpd-problem-391521/)

nearfar 12-11-2005 10:12 AM

vsftpd problem
 
Hi, I have installed fedora4, and for ftp i'm trying to use vsftpd.
the vsftpd daemon seems to be running o.k. and I can ftp from the same system (just to check if ftp is working) but when i try to ftp from Windows through smartftp, or editplus, it fails. It seems to establish connection at first, but then i get a timeout. In case of smartftp i get the following message:
" A socket operation was attempted to an unreachable
host."

any suggestions on how i should configure vsftpd.conf, or any settings? I would appreciate your help!
thank you!!

reddazz 12-11-2005 11:32 AM

Have you checked your firewall settings (you need to enable ftp) and selected your network card as a trusted device.

amitsharma_26 12-11-2005 01:12 PM

iptables -F
or
service iptables stop

& then checkback again.

nearfar 12-12-2005 02:43 PM

thank you so much!! i did "iptables stop", and I am able to use ftp.....
how can i permanently disable iptables?

WhatsHisName 12-12-2005 04:49 PM

Quote:

...how can i permanently disable iptables?
In general, that would be a bad idea, since iptables is your firewall.

If you are running X, the easy fix is to modify System Settings > Security Level and set ftp as a trusted service, which will add a line to /etc/sysconfig/iptables opening port 21 to new inbound tcp traffic.

reddazz 12-12-2005 07:30 PM

Quote:

Originally Posted by WhatsHisName
In general, that would be a bad idea, since iptables is your firewall.

If you are running X, the easy fix is to modify System Settings > Security Level and set ftp as a trusted service, which will add a line to /etc/sysconfig/iptables opening port 21 to new inbound tcp traffic.

Same thing as I posted above. Sometimes its really frustrating when you post the solution and you are never listened to even though you are right.

amitsharma_26 12-13-2005 07:16 AM

Quote:

Originally Posted by nearfar
thank you so much!! i did "iptables stop", and I am able to use ftp.....
how can i permanently disable iptables?

chkconfig --level 345 iptables off

Disable iptables in run-level 3 4 & 5. But it will come into effect on the next restart.


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